 
   toggleTagsDisplay: (ev) ->
     @setState(displayTags: not @state.TagsFormats)
+
+  onSelection: ->
+    @setState(isSelected: not @state.isSelected)
+
+  onDetailsClick: (ev, exercise) ->
+    console.warn "Exercise details was clicked"
 
   render: ->
     {displayFeedback, displayFormats, displayTags} = @state

      'fa-square-o':  not displayTags

    <ExercisePreview exercise={exercisePreviewStub}
      displayFormats={displayFormats}
      displayAllTags={displayTags}
      displayFeedback={displayFeedback}
    >
      <button className="toggle" onClick={@toggleFeedbackDisplay}>

  displayName: 'Demo'
  render: ->
    demos =
      exercisePreview: <ExercisePreviewDemo/>
      notices: <NoticesDemo />
      exercise: <ExerciseDemo/>
      breadcrumbs: <BreadcrumbDemo/>
      html: <HTMLDemo/>

