1 | import * as React from 'react';
|
2 | import { PickOptional } from '../../helpers/typeUtils';
|
3 | import { OUIAProps } from '../../helpers';
|
4 | export interface RadioProps extends Omit<React.HTMLProps<HTMLInputElement>, 'disabled' | 'label' | 'onChange' | 'type'>, OUIAProps {
|
5 |
|
6 | className?: string;
|
7 |
|
8 | id: string;
|
9 |
|
10 | isLabelWrapped?: boolean;
|
11 |
|
12 | isLabelBeforeButton?: boolean;
|
13 |
|
14 | checked?: boolean;
|
15 |
|
16 | isChecked?: boolean;
|
17 |
|
18 | isDisabled?: boolean;
|
19 |
|
20 | isValid?: boolean;
|
21 |
|
22 | label?: React.ReactNode;
|
23 |
|
24 | name: string;
|
25 |
|
26 | onChange?: (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
27 |
|
28 | 'aria-label'?: string;
|
29 |
|
30 | description?: React.ReactNode;
|
31 |
|
32 | body?: React.ReactNode;
|
33 | }
|
34 | export declare class Radio extends React.Component<RadioProps, {
|
35 | ouiaStateId: string;
|
36 | }> {
|
37 | static displayName: string;
|
38 | static defaultProps: PickOptional<RadioProps>;
|
39 | constructor(props: RadioProps);
|
40 | handleChange: (event: React.FormEvent<HTMLInputElement>) => void;
|
41 | render(): JSX.Element;
|
42 | }
|
43 | //# sourceMappingURL=Radio.d.ts.map |
\ | No newline at end of file |