import Button from "../../../src/core/Button"; import { Meta, StoryObj } from "@storybook/react"; declare const meta: Meta; export default meta; type Story = StoryObj; export declare const Basic: Story; /** * 为了避免与 suffixIcon 和 prefixIcon 属性混淆使用,移除了 icon 属性。如果您需要单独的图标按钮,请使用 suffixIcon 或 prefixIcon 属性,并且不需要传递 children。 */ export declare const Rounded: Story; /** * children 结构稍微复杂的情况,比如在 children 组合使用 Icon + text,需要使用者自己保证 Icon 和文字的间距 */ export declare const CustomChildren: Story; /** * * 当 type 传入 'link'时,会呈现为超链接文本的形式 * * 不建议通过 type='link' 的形式使用 button 来实现超链接的效果,应该使用 Link 组件 * * 这里仅对已有的用法进行展示 */ export declare const Link: Story; /** * * 禁用按钮示例 * * 当 disabled 设置为 true 时,按钮将变为禁用状态 * * 禁用状态下按钮不可点击,且样式会有相应变化 */ export declare const Disabled: Story; /** * 按钮有三种尺寸:large、middle、small * 可以在不同场景下选择合适的按钮尺寸 */ export declare const ButtonSizes: Story;