Changelog
🐞 Bug Fixes
- docz: add wrapper prop on Playground (566aaf8) (Fix #75)
- docz: sort algorithm off docs and menus (dad83ce) (Fix #143)
- docz-plugin-css: allow css from node_modules (c21929a) (Fix #160)
Wrapper property on <Playground>
To fix #75, now is possible to add a wrapper
property for <Playground>
:
import { Playground } from 'docz'
import { Wrapper } from './my-wrapper'
import { Button } from './button'
<Playground wrapper={Wrapper}>
<Button>Click me</Button>
</Playground>