Blame view

stories/index.stories.ts 669 Bytes
23c5fcce   王强   feat: init
1
2
  import type { Meta, StoryObj } from "@storybook/react";
  // import { userEvent, within, fn } from '@storybook/test';
ef94152e   王强   fix: 调整模板
3
  import <Feewee> from '../index';
23c5fcce   王强   feat: init
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  
  const meta: Meta<typeof <Feewee>> = {
    title: "H5-Common/Componet/<Feewee>",
    component: <Feewee>,
    tags: ["autodocs"],
    parameters: {
      layout: "centered",
    },
    args: {
    },
    argTypes: {
    },
  };
  
  export default meta;
  type Story = StoryObj<typeof <Feewee>>;
  
  /*
   *👇 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: {
    },
  };