Storybook
StroryBook ์ ํ์ํ ๊น?
- ์ฌ์ฌ์ฉ ๊ฐ๋ฅํ ์ปดํฌ๋ํธ์ ๋ฌธ์ 
Storybook v5.2 ๋ถํฐ๋ Component Story Format (CSF) ํ์ ๊ถ์ฅ
storiesOf API
storiesOf('opt-components', module)
  .addDecorator(withOPTComponentsStorybookGlobalStyle)
  .addDecorator(withInsightViewerStorybookGlobalStyle)
  .add('<DialogPaper>', () => <DialogPaperSample />);CSFํ์
export default {
  title: 'opt-components',
  component: DialogPaper,
  decorators: [
   withOPTComponentsStorybookGlobalStyle,           
   withInsightViewerStorybookGlobalStyle
  ],
};ํ์คํ CSF๊ฐ ์ง๊ด์ ์ด๋ค. storiesOf API๋ ์ฒด์ธ์ผ๋ก ์ฐ๊ฒฐ๋์ด์ ๐ ์ฒจ์ ์ด์ํ๊ณ Jquery์ธ๊ฐ?ใ ?
์ฐธ๊ณ
Last updated
Was this helpful?