Skip to content

Instantly share code, notes, and snippets.

@landakram
Created July 14, 2015 00:46
Show Gist options
  • Save landakram/13aa6fe5300e83d54d56 to your computer and use it in GitHub Desktop.
Save landakram/13aa6fe5300e83d54d56 to your computer and use it in GitHub Desktop.
ChecklistItem = React.createClass
render: ->
classes = classnames(
'integration-checklist__list-item': true
'integration-checklist__list-item--complete': @props.completed
)
<li className={classes}>
{@props.title}
<p className="integration-checklist__list-item-description">{@props.children}</p>
<div className="integration-checklist__docs-links">
<a className="integration-checklist__documentation-link" href={@props.docs.url}>{@props.docs.title}</a>
<span className="integration-checklist__text-element">|</span>
<a className="integration-checklist__documentation-link" href={@props.code.url}>See the code</a>
</div>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment