Skip to content

Commit d5d036c

Browse files
committed
Document lodash availability in examples.
1 parent 1f7ffde commit d5d036c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ If you want to set the default state you can do something like that:
8989

9090
You can use `React.createClass` in your code examples, but it’s often a good idea to define them in a separate JavaScript file instead and then just require them in Markdown.
9191

92+
[lodash](https://lodash.com/) library is available at the `_` object:
93+
94+
```js
95+
<List items={_.range(7).map(i => `Item ${i}`)}/>
96+
```
97+
9298
## Configuration
9399

94100
You can change some settings in the `styleguide.config.js` file in your project’s root folder.

0 commit comments

Comments
 (0)