UNPKG

cherry-styled-components

Version:

Cherry is a design system for the modern web. Designed in Figma, built in React using Typescript.

14 lines (13 loc) 478 B
import { default as React } from 'react'; interface ToggleProps extends React.InputHTMLAttributes<HTMLInputElement> { children?: React.ReactNode; type?: "checkbox" | "radio"; $wrapperClassName?: string; $label?: string; $size?: "default" | "big" | "small"; $error?: boolean; $success?: boolean; $fullWidth?: boolean; } declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLInputElement>>; export { Toggle };