Skip to content

Commit

Permalink
fix(docz-components): better prop types for playground
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Aug 31, 2019
1 parent 344ffbb commit f35f3ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/docz-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docz-components",
"version": "2.0.0-rc.8",
"version": "2.0.0-rc.9",
"main": "dist/index.js",
"module": "dist/docz-components.esm.js",
"typings": "dist/index.d.ts",
Expand Down
9 changes: 7 additions & 2 deletions core/docz-components/src/components/Playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ type Props = {
[key: string]: any;
}
| undefined;
showPlaygroundEditor: boolean;
showLiveError: boolean;
showPlaygroundEditor?: boolean;
showLiveError?: boolean;
className?: string;
style?: any;
wrapper?: any;

position?: any;
};

export const Playground = ({
Expand Down

0 comments on commit f35f3ca

Please sign in to comment.