https://github.com/hipstersmoothie/storybook-pretty-props
Render prop types in a pretty way. Useful for storybook addons that display prop types.
https://github.com/hipstersmoothie/storybook-pretty-props
Last synced: 18 days ago
JSON representation
Render prop types in a pretty way. Useful for storybook addons that display prop types.
- Host: GitHub
- URL: https://github.com/hipstersmoothie/storybook-pretty-props
- Owner: hipstersmoothie
- Created: 2020-04-10T19:39:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T21:38:34.000Z (over 2 years ago)
- Last Synced: 2025-03-28T19:44:52.934Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://hipstersmoothie.github.io/storybook-pretty-props/
- Size: 3.3 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# storybook-pretty-props
Render prop types from react-docgen or react-docgen-typescript in a pretty way.
Useful for storybook addons that display prop types.## Installation
```sh
npm i storybook-pretty-props
# with yarn
yarn add storybook-pretty-props
```## Usage
Combine this with docgen output to render the prop type!
```js
import PrettyPropType from "storybook-pretty-props";const Example = () => (
);
```## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Andrew Lisowski
💻 📖 💡 ⚠️
Peter Mikitsh
💡 💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!