@codecademy/gamut
68.2.168.2.2-alpha.8940e8.0
dist/Form/inputs/Radio.d.ts~
dist/Form/inputs/Radio.d.tsModified+8−8
Index: package/dist/Form/inputs/Radio.d.ts
===================================================================
--- package/dist/Form/inputs/Radio.d.ts
+++ package/dist/Form/inputs/Radio.d.ts
@@ -28,25 +28,25 @@
};
export interface RadioElementProps extends RadioProps, StyleProps<typeof conditionalRadioInputStyles> {
}
export declare const Radio: React.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & Omit<BaseInputProps, "label"> & {
- checked?: boolean | undefined;
- disabled?: boolean | undefined;
- id?: string | undefined;
+ checked?: boolean;
+ disabled?: boolean;
+ id?: string;
/**
* Infotip props to render to the right of your radio label.
* The InfoTip button is automatically labelled by the radio label.
* To override this behavior, provide `ariaLabel` or `ariaLabelledby`.
*/
- infotip?: InfoTipSubComponentProps | undefined;
+ infotip?: InfoTipSubComponentProps;
/**
* A label for your Radio input - should not include infotips or other interactive elements
*/
label?: ReactNode;
- onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
/**
* Specifies the tab order of the Radio input
*/
- tabIndex?: number | undefined;
- value?: string | undefined;
- readOnly?: boolean | undefined;
+ tabIndex?: number;
+ value?: string;
+ readOnly?: boolean;
} & React.RefAttributes<HTMLInputElement>>;