@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
13 lines (12 loc) • 631 B
TypeScript
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
indeterminate?: boolean;
}
/**
* A control that allows the user to toggle between checked and not checked.
* - [Docs](https://www.radix-ui.com/docs/primitives/components/checkbox)
* - [API Reference](https://www.radix-ui.com/primitives/docs/components/checkbox#api-reference)
*/
declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLButtonElement>>;
export { Checkbox };
export type { CheckboxProps };