UNPKG

@thinkbuff/figma-react

Version:

A Figma React UI components for creating plugins and widgets

14 lines (13 loc) 925 B
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> { inline?: boolean; } /** * A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time. * * - [Docs](https://www.radix-ui.com/docs/primitives/components/radio-group) * - [API Reference](https://www.radix-ui.com/primitives/docs/components/radio-group#api-reference) */ declare const RadioGroup: import('react').ForwardRefExoticComponent<RadioGroupProps & import('react').RefAttributes<HTMLDivElement>>; declare const RadioGroupItem: import('react').ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>; export { RadioGroup as Group, RadioGroupItem as GroupItem };