Blame view

stories/index.stories.ts 695 Bytes
23c5fcce   王强   feat: init
1
2
  import type { Meta, StoryObj } from "@storybook/react";
  // import { userEvent, within, fn } from '@storybook/test';
8c1b5030   王强   fix: 调整模板
3
  import <feewee></feewee> from '../index';
23c5fcce   王强   feat: init
4
  
8c1b5030   王强   fix: 调整模板
5
  const meta: Meta<typeof <feewee></feewee>> = {
48be0262   王强   fix: 调整模板
6
    title: "<feewee></feewee>",
8c1b5030   王强   fix: 调整模板
7
    component: <feewee></feewee>,
23c5fcce   王强   feat: init
8
9
10
11
12
13
14
15
16
17
18
    tags: ["autodocs"],
    parameters: {
      layout: "centered",
    },
    args: {
    },
    argTypes: {
    },
  };
  
  export default meta;
8c1b5030   王强   fix: 调整模板
19
  type Story = StoryObj<typeof <feewee></feewee>>;
23c5fcce   王强   feat: init
20
21
22
23
24
25
26
27
28
29
  
  /*
   *👇 Render functions are a framework specific feature to allow you control on how the component renders.
   * See https://storybook.js.org/docs/api/csf
   * to learn how to use render functions.
   */
  export const Primary: Story = {
    args: {
    },
  };