@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
10 lines (9 loc) • 517 B
TypeScript
import * as TogglePrimitive from '@radix-ui/react-toggle';
/**
* A two-state button that can be either on or off.
*
* - [Docs](https://www.radix-ui.com/docs/primitives/components/toggle)
* - [API Reference](https://www.radix-ui.com/primitives/docs/components/toggle#api-reference)
*/
declare const Toggle: import('react').ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
export { Toggle };