An open API service indexing awesome lists of open source software.

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.

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!