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