Skip to content

Commit

Permalink
docs(divider): Initial docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanoglesby08 committed Sep 26, 2017
1 parent 5b2f899 commit c0d2af7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Dividers/WaveDivider/WaveDivider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import safeRest from '../../../utils/safeRest'
import wave from './wave.svg'
import styles from './WaveDivider.modules.scss'

/**
* Divide page content blocks.
*/
const WaveDivider = ({ ...rest }) => (
<img {...safeRest(rest)} src={wave} alt="" className={styles.wave} />
)
Expand Down
2 changes: 2 additions & 0 deletions src/components/Dividers/WaveDivider/WaveDivider.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
There should be at most 1 `WaveDivider` per page.

```
<WaveDivider />
```

0 comments on commit c0d2af7

Please sign in to comment.