1.2.0 • Published 6 years ago
storybook-markup v1.2.0
Storybook-markup
Show markup from your react stories in the storybook panel.
usage
In .storybook/addons.js
import "@storybook/addon-actions/register";
import "storybook-markup/src/register";
In your stories file
import ShowMarkup from "storybook-markup/ShowMarkup";
...
<ShowMarkup>
<Button onClick={action("clicked")}>Hello Button</Button>
</ShowMarkup>
contributing
This addon is developed in ReasonML. Just update the .re files and start with yarn run start
.