@payfit/unity-components
Version:
14 lines (13 loc) • 760 B
TypeScript
import { RadioButtonGroupProps as CoreRadioButtonGroupProps } from '../../../../core/components/radio-button-group/RadioButtonGroup.js';
/**
* Props for `RadioButtonGroup`.
*
* Inherits all visual/interaction props from the base `RadioButtonGroup`, but removes
* form‑control props that are provided by the TanStack Form field context instead.
*
* Omitted props:
* - `name`, `value`, `defaultValue`, `isInvalid` — these are driven by the form context.
*/
export type RadioButtonGroupProps = Omit<CoreRadioButtonGroupProps, 'value' | 'defaultValue' | 'isInvalid' | 'name'>;
declare const RadioButtonGroup: import('react').ForwardRefExoticComponent<RadioButtonGroupProps & import('react').RefAttributes<HTMLDivElement>>;
export { RadioButtonGroup };