UNPKG

@platformbuilders/react-elements

Version:

Platform Builders Shared Components Library For React Web

14 lines 472 B
/// <reference types="react" /> import { ColorsVariants } from '..'; export declare type SwitchProps = { checkedIcon?: React.ReactNode; variant?: ColorsVariants; disabled?: boolean; icon?: React.ReactNode; size?: 'small' | 'medium'; value?: unknown; label?: string; labelPlacement?: 'top' | 'start' | 'bottom' | 'end'; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; }; //# sourceMappingURL=Switch.d.ts.map