storybook-markup
Show markup from your react stories in the storybook panel.
Last updated 2 years ago by ulrikstrid .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install storybook-markup 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.0                                ...           beta (3 years ago)
  • 1.2.0                                ...           latest (2 years ago)

17 Versions

  • 1.2.0                                ...           2 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (5)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |