Skip to content

v0.7.1

Compare
Choose a tag to compare
@pedronauck pedronauck released this 24 Jul 01:51
· 1165 commits to main since this release

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>