Skip to content

Commit

Permalink
Migrate Card story to typescript (#756)
Browse files Browse the repository at this point in the history
* 🚚 Change extension to tsx

* πŸ“ Adding props table for Card and sub components

Had to use the JSX.IntrinsicElements trick to make the arg tables show

* πŸ“ Add the rest of the Card stories as examples

* 🚚 Rename function without eds prefic

* πŸ”₯ Remove knobs completely

* βž• Re-add types for storybook, react and react-dom
  • Loading branch information
wenche authored and vnys committed Nov 13, 2020
1 parent 3f20021 commit 20f0093
Show file tree
Hide file tree
Showing 11 changed files with 507 additions and 542 deletions.
3 changes: 3 additions & 0 deletions apps/storybook-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"@storybook/addons": "^6.0.27",
"@storybook/source-loader": "^6.0.27",
"@storybook/theming": "^6.0.27",
"@types/react": "^16.9.54",
"@types/react-dom": "^16.9.9",
"@types/styled-components": "^5.1.4",
"babel-loader": "^8.1.0",
"react": "^16.13.1",
"react-is": "^16.13.1"
Expand Down
154 changes: 133 additions & 21 deletions apps/storybook-react/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 20f0093

Please sign in to comment.