fui-fancyui
Version:
FancyUI Libary
144 lines (143 loc) • 3.9 kB
TypeScript
import { StoryObj } from '@storybook/react';
declare const meta: {
component: import('react').ForwardRefExoticComponent<Omit<import('../../../molecules/InputWrapper').TInputWrapperUserInputProps, "InputElement"> & {
value?: string;
align?: import('../../../../types').TTextAlignLC;
type?: "week" | "date" | "month" | "time" | "datetime-local" | "datetime";
} & import('../../../atoms/RawInput').TRawInput & import('../../../atoms/DateInput').TNativeAttrs & import('react').RefAttributes<HTMLInputElement>>;
title: string;
parameters: {
docs: {
description: {
component: string;
};
};
};
argTypes: {
systemMessage: {
description: string;
control: {
type: "object";
};
};
placeholder: {
description: string;
control: {
type: "text";
};
};
icon: {
description: string;
};
value: {
description: string;
control: {
type: "text";
};
};
type: {
description: string;
control: {
type: "select";
};
table: {
defaultValue: {
summary: string;
};
};
};
transparentBackground: {
description: string;
control: {
type: "boolean";
};
table: {
defaultValue: {
summary: string;
};
};
};
externalStyle: {
description: string;
control: {
type: "object";
};
};
labelVariant: {
description: string;
control: {
type: "select";
};
};
underline: {
description: string;
control: {
type: "boolean";
};
};
outlined: {
description: string;
control: {
type: "boolean";
};
};
outlinedBackgroundStrength: {
description: string;
control: {
min: number;
max: number;
step: number;
type: "number";
};
};
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;
};
};
};
label: {
description: string;
control: {
type: "text";
};
};
align: {
description: string;
control: {
type: "select";
};
};
disabled: {
description: string;
control: {
type: "boolean";
};
};
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Primary: Story;
export declare const WithErrorState: Story;
export declare const WithSuccessState: Story;
export declare const WithInfoState: Story;