Skip to content

Commit 010761b

Browse files
author
Artem Sapegin
committed
Changelog: 🚀
## New features ### Support React Hooks in examples You can now use hooks in the examples, like the `useState` hook: ```jsx const [count, setCount] = React.useState(42); <Button onClick={() => setCount(count + 1)}>{count}</Button> ``` (styleguidist#1353 by @eragon512) ## Bug fixes * Accessibility fixes ([styleguidist#1359](styleguidist#1359) by @J-Kallunki) * `getExampleFilename` should use default example if file does not exist ([styleguidist#1362](styleguidist#1362)) by @mendrew, closes [styleguidist#1338](styleguidist#1338) * Hide HTML comments in Markdown files ([styleguidist#1347](styleguidist#1347) by @eragon512, closes styleguidist#1326)
1 parent 56dcca5 commit 010761b

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)