storybook-addon-jsx
- Version 7.3.14
- Published
- 179 kB
- 4 dependencies
- MIT license
Install
npm i storybook-addon-jsx
yarn add storybook-addon-jsx
pnpm add storybook-addon-jsx
Overview
Display the JSX of the story
Index
Variables
variable _default
const _default: { addWithJSX( this: StoryApi<unknown>, kind: string, storyFn: StoryFn<any> ): StoryApi<unknown>;};
variable addDecorator
const addDecorator: ClientStoryApi<any>;
Functions
function jsxDecorator
jsxDecorator: (...args: any) => any;
Extract components from story and emit them to the panel
Type Aliases
type DecoratorFn
type DecoratorFn = Parameters<typeof addDecorator>[0];
Package Files (1)
Dependencies (4)
Dev Dependencies (38)
- @auto-it/all-contributors
- @auto-it/first-time-contributor
- @babel/cli
- @babel/core
- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript
- @design-systems/eslint-config
- @storybook/addon-options
- @storybook/addon-storyshots
- @storybook/addons
- @storybook/channels
- @storybook/components
- @storybook/core-events
- @storybook/react
- @storybook/theming
- @types/js-beautify
- @types/react
- @types/storybook__react
- all-contributors-cli
- auto
- babel-core
- babel-jest
- babel-loader
- eslint
- husky
- jest
- lint-staged
- prettier
- prop-types
- react
- react-docgen-typescript-loader
- react-dom
- react-test-renderer
- regenerator-runtime
- rimraf
- storybook-addon-react-docgen
- typescript
Peer Dependencies (7)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/storybook-addon-jsx
.
- Markdown[](https://www.jsdocs.io/package/storybook-addon-jsx)
- HTML<a href="https://www.jsdocs.io/package/storybook-addon-jsx"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1517 ms. - Missing or incorrect documentation? Open an issue for this package.