storybook-panel-description
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Storybook Panel Description

  • storybookのパネルにstoryの説明を記載できるアドオン
  • 説明にはgfmに対応したmarkdownが使える。

export const Primary = Template.bind({});
Primary.args = {
  primary: true,
  label: "Button",
};
Primary.parameters = {
  desc: `
# パネルの説明を記載できる

## タイトル2

**マークダウンで記述できます。**

- リスト
- リスト

1. 番号リスト
1. 番号リスト

|表1|表2|
| --- | --- |
|1|2|

`
}

Readme

Keywords

none

Package Sidebar

Install

npm i storybook-panel-description

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

10.3 kB

Total Files

33

Last publish

Collaborators

  • su-