Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix(docs): update docs
Browse files Browse the repository at this point in the history
better example in docs
  • Loading branch information
eddier committed Mar 22, 2017
1 parent 7964da7 commit 10ad19c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/components/LeftNav/LeftNav.examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,14 @@ Simple Card Example
</LeftNav>
</div>

Richer Example

#### General Notes ####

Use the MenuItem subcomponent to place content. Use the active prop to set the
item to active styling. You can also use an onClick handler to deal with
navigating the user to the appropriate location.

#### Supported Fragments ####

```javascript

`PrimaryAction` : left button area
`Title` : maybe title
`ActionButton` : secondary action button
`Widget` : container for stats
`Widget.Label` : label formatted text
`Widget.Value` : value formatted text
`Drawer` : collapsable content

`MenuItem` : Area to display content in the left nav
```

0 comments on commit 10ad19c

Please sign in to comment.