iframe wrapper for Docz playground
npm install docz-iframe-playgroundThe default Docz is really cool, but it does not serve your components in an isolated browsing context. This means your components live in a shared document environment with the Docz theme
The disadvantages of shared browsing context are:
- It makes developers hard to test component responsiveness
- Possible CSS collisions between Docz default theme style and component style
This project aims to solve the issue by using

Playground: https://zicodeng.github.io/docz-iframe-playground/
``shell`
yarn add -D docz-iframe-playground
`mdx
---
name: IFramePlayground
route: /
---
import { Playground, PropsTable } from 'docz';
import IFramePlayground from './../src/IFramePlayground';
import Header from './../helpers/Header';
import TestComponent from './TestComponent';
Make sure to turn on enableResizing
``