Skip to content

Commit

Permalink
docs(Card): add example for card link prop
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainMaestro committed Feb 21, 2017
1 parent fa5bc4c commit 9a4c087
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/app/Examples/views/Card/Content/CardExampleLinkCardProp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react'
import { Card } from 'semantic-ui-react'

const CardExampleLinkCardProp = () => (
<Card
link
header='Rick Sanchez'
meta='Scientist'
description='Rick is a genius scientist whose alcoholism and reckless, nihilistic behavior are a source of concern for his family'
/>
)

export default CardExampleLinkCardProp
3 changes: 3 additions & 0 deletions docs/app/Examples/views/Card/Content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const Content = () => (
description='A card can be formatted to link to other content.'
examplePath='views/Card/Content/CardExampleLinkCard'
/>
<ComponentExample
examplePath='views/Card/Content/CardExampleLinkCardProp'
/>
</ExampleSection>
)

Expand Down

0 comments on commit 9a4c087

Please sign in to comment.