fui-fancyui
Version:
FancyUI Libary
135 lines (134 loc) • 3.69 kB
TypeScript
import { StoryObj } from '@storybook/react';
declare const meta: {
component: import('react').ForwardRefExoticComponent<{
label?: string;
description?: string;
align?: "left" | "right" | "center";
alignSwitch?: "left" | "right";
} & import('../../../molecules/Switch').TSwitch & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, keyof import('../../../molecules/Switch').TSwitch> & import('react').RefAttributes<HTMLInputElement>>;
title: string;
parameters: {
docs: {
description: {
component: string;
};
};
};
argTypes: {
sizeC: {
description: string;
options: string[];
control: {
type: "select";
};
};
checked: {
description: string;
control: {
type: "boolean";
};
};
disabled: {
description: string;
control: {
type: "boolean";
};
table: {
defaultValue: {
summary: string;
};
};
};
label: {
description: string;
control: {
type: "text";
};
};
alignSwitch: {
description: string;
options: string[];
control: {
type: "radio";
};
table: {
defaultValue: {
summary: string;
};
};
};
align: {
description: string;
options: string[];
control: {
type: "radio";
};
table: {
defaultValue: {
summary: string;
};
};
};
description: {
description: string;
control: {
type: "text";
};
};
icon: {
description: string;
control: {
type: "object";
};
};
checkedIcon: {
description: string;
control: {
type: "object";
};
};
externalStyle: {
description: string;
control: {
type: "object";
};
};
themeType: {
description: string;
control: {
type: "select";
};
options: ("primary" | "accent" | "secondary" | "info" | "success" | "warning" | "error" | "transparent" | undefined)[];
table: {
defaultValue: {
summary: "primary" | "accent" | "secondary" | "info" | "success" | "warning" | "error" | "transparent";
};
};
};
layer: {
description: string;
control: {
type: "range";
min: number;
max: number;
};
table: {
defaultValue: {
summary: string;
};
};
};
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Primary: Story;
export declare const WithLabel: Story;
export declare const SwitchRight: Story;
export declare const WithIcons: Story;
export declare const Checked: Story;
export declare const Disabled: Story;
export declare const Secondary: Story;
export declare const Success: Story;
export declare const SmallSize: Story;
export declare const LargeSize: Story;