diff --git a/packages/docz/src/components/Playground.tsx b/packages/docz/src/components/Playground.tsx index 45600235d..3f6ed5f26 100644 --- a/packages/docz/src/components/Playground.tsx +++ b/packages/docz/src/components/Playground.tsx @@ -27,16 +27,14 @@ const BasePlayground: SFC = ({ if (!components || !components.render) return null return ( - - - + {isFn(children) ? children() : children}} + position={__position} + code={__code} + /> ) }