@idui/react-toggle-controls
Version:
React Toggle Controls
20 lines (19 loc) • 717 B
TypeScript
interface SwitchToggleProps {
isOn: boolean;
size: string;
color: string;
iconColor: string;
}
export declare const Toggle: import("styled-components").StyledComponent<"div", any, SwitchToggleProps, never>;
interface SwitchHandleProps {
disabled: boolean;
size: [string, string];
color: string;
}
export declare const Handle: import("styled-components").StyledComponent<"div", any, SwitchHandleProps, never>;
interface SwitchContainerProps {
size: string;
}
export declare const Container: import("styled-components").StyledComponent<"label", any, SwitchContainerProps, never>;
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
export {};