Skip to content

Instantly share code, notes, and snippets.

@codequistador
Created May 7, 2018 15:59
Show Gist options
  • Select an option

  • Save codequistador/1a183c29ccf0af339883554a30494725 to your computer and use it in GitHub Desktop.

Select an option

Save codequistador/1a183c29ccf0af339883554a30494725 to your computer and use it in GitHub Desktop.
Learning Card API
<LearningCard
renderMedia={() => <LearningCardMedia data-selenium="media" url="" />}
renderFooter={() => <LearningCardFooter data-selenium="footer" />}
render () {
<CardFooter>{this.props.renderFooter(this.state.isFocused)}</CardFooter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment