@project44-manifest/react
Version:
Manifest Design System react components
31 lines • 2.48 kB
TypeScript
import * as React from 'react';
declare const _default: {
title: string;
component: import("../../../system").Component<import("..").SwitchOptions<"label">>;
};
export default _default;
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof React.LabelHTMLAttributes<HTMLLabelElement>> & {
ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
}, keyof import("..").SwitchOptions<"label">> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").SwitchOptions<"label">>;
export declare const Small: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof React.LabelHTMLAttributes<HTMLLabelElement>> & {
ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
}, keyof import("..").SwitchOptions<"label">> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").SwitchOptions<"label">>;
export declare const Disabled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof React.LabelHTMLAttributes<HTMLLabelElement>> & {
ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
}, keyof import("..").SwitchOptions<"label">> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").SwitchOptions<"label">>;
export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<Pick<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof React.LabelHTMLAttributes<HTMLLabelElement>> & {
ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
}, keyof import("..").SwitchOptions<"label">> & {
[index: `data-${string}`]: unknown;
children?: React.ReactNode;
} & import("..").SwitchOptions<"label">>;
//# sourceMappingURL=Switch.stories.d.ts.map