fui-fancyui
Version:
FancyUI Libary
141 lines (140 loc) • 3.73 kB
TypeScript
import { StoryObj } from '@storybook/react';
declare const meta: {
component: import('react').ForwardRefExoticComponent<import('..').TSwitch & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, keyof import('..').TSwitch> & import('react').RefAttributes<HTMLInputElement>>;
title: string;
parameters: {
docs: {
description: {
component: string;
};
};
};
argTypes: {
checked: {
description: string;
control: {
type: "boolean";
};
table: {
defaultValue: {
summary: string;
};
};
};
disabled: {
description: string;
control: {
type: "boolean";
};
table: {
defaultValue: {
summary: string;
};
};
};
sizeC: {
description: string;
control: {
type: "select";
options: string[];
};
table: {
defaultValue: {
summary: string;
};
};
};
onChange: {
description: string;
control: {
type: "object";
};
table: {
type: {
summary: string;
};
};
};
icon: {
description: string;
control: {
type: "object";
};
table: {
type: {
summary: string;
};
};
};
checkedIcon: {
description: string;
control: {
type: "object";
};
table: {
type: {
summary: string;
};
};
};
externalStyle: {
description: string;
control: {
type: "object";
};
table: {
type: {
summary: string;
};
};
};
id: {
description: string;
control: {
type: "text";
};
};
name: {
description: string;
control: {
type: "text";
};
};
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 Default: Story;
export declare const Checked: Story;
export declare const Disabled: Story;
export declare const DisabledChecked: Story;
export declare const WithIcons: Story;
export declare const Sizes: Story;
export declare const ThemeVariants: Story;
export declare const WithIconsAndStates: Story;
export declare const Playground: Story;