Skip to content

Commit

Permalink
chore(docz): remove async playground
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jul 13, 2019
1 parent 6fbd5a8 commit a7fb356
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 198 deletions.
2 changes: 0 additions & 2 deletions core/docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"precommit": "lint-staged"
},
"dependencies": {
"@loadable/component": "^5.10.1",
"@mdx-js/react": "^1.0.23",
"array-sort": "^1.0.0",
"capitalize": "^2.0.0",
Expand All @@ -43,7 +42,6 @@
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@types/loadable__component": "^5.10.0",
"@types/lodash": "^4.14.136",
"@types/node": "^12.6.2",
"@types/reach__router": "^1.2.4",
Expand Down
10 changes: 0 additions & 10 deletions core/docz/src/components/AsyncPlayground.tsx

This file was deleted.

4 changes: 1 addition & 3 deletions core/docz/src/components/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface PlaygroundProps {
__code: string
}

const Playground: SFC<PlaygroundProps> = ({
export const Playground: SFC<PlaygroundProps> = ({
className,
style,
wrapper: Wrapper,
Expand All @@ -37,5 +37,3 @@ const Playground: SFC<PlaygroundProps> = ({
/>
)
}

export default Playground
2 changes: 1 addition & 1 deletion core/docz/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { Playground } from './components/AsyncPlayground'
export { Link, LinkProps } from './components/Link'
export { Playground } from './components/Playground'
export { Props, PropsComponentProps } from './components/Props'

export * from './hooks'
Expand Down
Loading

0 comments on commit a7fb356

Please sign in to comment.