UNPKG

@carton-org/react-neumorphism

Version:

A React component library implementing the neumorphism design style

22 lines 781 B
import { Sizes } from '../../constants'; interface ToggleProps { id?: string; label?: string; size?: Sizes; rounded?: boolean; border?: boolean; checked?: boolean; disabled?: boolean; icons?: { checkedIcon: React.ReactNode; uncheckedIcon: React.ReactNode; }; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; labelStyle?: React.CSSProperties; toggleStyle?: React.CSSProperties; } declare const _default: import('react').ForwardRefExoticComponent<Pick<ToggleProps & import('react').RefAttributes<HTMLInputElement>, keyof ToggleProps | keyof import('react').RefAttributes<HTMLInputElement>> & { theme?: import('@emotion/react').Theme; }>; export default _default; //# sourceMappingURL=Toggle.d.ts.map