File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 11import { Checkbox as AntdCheckbox } from 'antd' ;
2- import { CheckboxProps } from 'antd/es/checkbox/Checkbox' ;
3- import { CheckboxGroupProps } from 'antd/es/checkbox/Group' ;
4- import * as React from 'react' ;
52
6- interface CheckboxComponentType
7- extends React . ForwardRefExoticComponent <
8- CheckboxProps & React . RefAttributes < HTMLInputElement >
9- > {
10- Group : React . NamedExoticComponent < CheckboxGroupProps > ;
11- __ANT_CHECKBOX : boolean ;
12- }
13-
14- export const Checkbox : CheckboxComponentType = AntdCheckbox ;
3+ export const Checkbox : typeof AntdCheckbox = AntdCheckbox ;
Original file line number Diff line number Diff line change 11import { Input as AntdInput } from 'antd' ;
22
3- export const Input = AntdInput ;
3+ export const Input : typeof AntdInput = AntdInput ;
Original file line number Diff line number Diff line change 11import { Radio as AntdRadio } from 'antd' ;
22
3- export const Radio = AntdRadio ;
3+ export const Radio : typeof AntdRadio = AntdRadio ;
You can’t perform that action at this time.
0 commit comments