@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
15 lines (14 loc) • 1.1 kB
TypeScript
import { type ControlGroupCaptionProps, type ControlGroupLabelProps, type ControlGroupProps, type ControlGroupValidationProps } from '../ControlGroup';
export type RadioGroupProps = ControlGroupProps;
export type RadioGroupLabelProps = ControlGroupLabelProps;
export type RadioGroupCaptionProps = ControlGroupCaptionProps;
export type RadioGroupValidationProps = ControlGroupValidationProps;
export declare const RadioGroup: import("react").ForwardRefExoticComponent<ControlGroupProps & import("react").RefAttributes<HTMLFieldSetElement>> & {
Label: import("react").ForwardRefExoticComponent<{
visuallyHidden?: boolean;
} & import("react").HTMLAttributes<HTMLLegendElement> & import("react").RefAttributes<HTMLLegendElement>>;
Caption: import("react").ForwardRefExoticComponent<ControlGroupCaptionProps & import("react").RefAttributes<HTMLSpanElement>>;
Validation: import("react").ForwardRefExoticComponent<{
variant: import("..").FormValidationStatus;
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
};