UNPKG

@navinc/base-react-components

Version:
13 lines (12 loc) 586 B
/// <reference types="react" /> import { InferComponentProps } from './types'; declare const ToggleIndicator: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, { type: "checkbox"; }, "type">; type ToggleProps = { checked?: boolean; disabled?: boolean; color?: string; } & InferComponentProps<typeof ToggleIndicator>; export declare const Toggle: import("styled-components").StyledComponent<({ checked, disabled, color, ...props }: ToggleProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>; export {};