import { CheckboxCheckOptions } from '@ariakit/react'; import { ComponentPropsWithRef, InputHTMLAttributes } from 'react'; export type ToggleProps = Omit & ComponentPropsWithRef<'input'> & InputHTMLAttributes, 'size'> & ToggleOptions; interface ToggleOptions { size?: 'lg' | 'md' | 'sm'; /** * If true, display an eye / eye-slash icon to toggle visibility. */ withVisibilityIcon?: boolean; } export {};