UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

143 lines (142 loc) 3.72 kB
import '../../global/animate.min.css'; /** * This is a user interface component that allows users to switch between two states: "on" and "off." * It resembles a physical switch and is used to enable or disable a particular feature or setting. */ declare const _default: { title: string; tags: string[]; parameters: { actions: { handles: { toggled: import("@vitest/spy").Mock<(...args: any[]) => any>; }; }; }; argTypes: { isOn: { control: string; description: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; category: string; }; }; showLabel: { control: string; description: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; category: string; }; }; hasIcons: { control: string; description: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; category: string; }; }; disabled: { control: string; description: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; category: string; }; }; size: { control: string; options: string[]; description: string; table: { type: { summary: string; }; defaultValue: { summary: string; }; category: string; }; }; animation: { control: string; options: string[]; description: string; table: { type: { summary: string; }; defaultValue: { summary: string; }; category: string; }; }; animationDelay: { control: string; options: string[]; description: string; table: { type: { summary: string; }; defaultValue: { summary: string; }; category: string; }; }; animationSpeed: { control: string; options: string[]; description: string; table: { type: { summary: string; }; defaultValue: { summary: string; }; category: string; }; }; toggled: { control: string; action: string; description: string; table: { type: { summary: string; }; defaultValue: { summary: () => void; }; category: string; }; }; }; }; export default _default; export declare const Switcher: any;