1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 | import { SwitchBaseProps, SwitchBaseClassKey } from '../internal/SwitchBase';
|
4 |
|
5 | export interface CheckboxProps
|
6 | extends StandardProps<SwitchBaseProps, CheckboxClassKey, 'checkedIcon' | 'color' | 'icon'> {
|
7 | checkedIcon?: React.ReactNode;
|
8 | color?: 'primary' | 'secondary' | 'default';
|
9 | icon?: React.ReactNode;
|
10 | indeterminate?: boolean;
|
11 | indeterminateIcon?: React.ReactNode;
|
12 | size?: 'small' | 'medium';
|
13 | }
|
14 |
|
15 | export type CheckboxClassKey =
|
16 | | SwitchBaseClassKey
|
17 | | 'indeterminate'
|
18 | | 'colorPrimary'
|
19 | | 'colorSecondary';
|
20 |
|
21 | declare const Checkbox: React.ComponentType<CheckboxProps>;
|
22 |
|
23 | export default Checkbox;
|