1.0.3 • Published 3 years ago

storybook-panel-description v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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|

`
}

npm.io