UNPKG

@spaced-out/ui-design-system

Version:
142 lines 3.41 kB
import * as React from 'react'; import type { ToggleProps } from './Toggle'; declare const _default: { tags: string[]; title: string; component: import("flow-to-typescript-codemod").Flow.AbstractComponent<ToggleProps, HTMLInputElement>; argTypes: { name: { description: string; }; value: { description: string; name: string; table: { type: { summary: string; }; }; control: { disable: boolean; }; }; checked: { table: { type: { summary: string; }; }; }; disabled: { description: string; options: boolean[]; control: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; }; }; focused: { description: string; options: boolean[]; control: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; }; }; labelPosition: { description: string; options: string[]; control: string; table: { type: { summary: string; }; defaultValue: { summary: string; }; }; }; classNames: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; children: { description: string; table: { type: { summary: string; }; }; }; onChange: { description: string; action: string; type: { summary: string; }; }; ariaLabel: { description: string; table: { type: { summary: string; }; }; }; }; parameters: { docs: { subtitle: string; description: { component: string; }; }; storySource: { componentPath: string; }; }; }; export default _default; export declare const _Toggle: { (args: ToggleProps): React.JSX.Element; args: { name: string; disabled: boolean; focused: boolean; children: string; checked: boolean; value: string; labelPosition: string; }; }; export declare const _CustomToggle: { (args: ToggleProps): React.JSX.Element; args: { name: string; disabled: boolean; focused: boolean; children: string; checked: boolean; value: string; ariaLabel: string; labelPosition: string; }; }; //# sourceMappingURL=Toggle.stories.d.ts.map