@navinc/base-react-components
Version:
Nav's Pattern Library
13 lines (12 loc) • 603 B
TypeScript
/// <reference types="react" />
import { InferComponentProps } from './types';
declare const ToggleIndicator: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
type: "checkbox";
}, "type">;
declare type ToggleProps = {
checked?: boolean;
disabled?: boolean;
color?: string;
} & InferComponentProps<typeof ToggleIndicator>;
declare const _default: import("styled-components").StyledComponent<({ checked, disabled, color, ...props }: ToggleProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
export default _default;