UNPKG

cherry-styled-components

Version:

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

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