@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
10 lines (9 loc) • 544 B
TypeScript
import * as SwitchPrimitives from '@radix-ui/react-switch';
/**
* A control that allows the user to toggle between checked and not checked.
*
* - [Docs](https://www.radix-ui.com/docs/primitives/components/switch)
* - [API Reference](https://www.radix-ui.com/primitives/docs/components/switch#api-reference)
*/
declare const Switch: import('react').ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
export { Switch };