mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 13:15:32 +08:00
Fix types
This commit is contained in:
parent
2e41e35cc6
commit
2e4d09c68e
@ -21,7 +21,7 @@ export interface TimePickerProps {
|
|||||||
/** 没有值的时候显示的内容 */
|
/** 没有值的时候显示的内容 */
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
/** 国际化配置 */
|
/** 国际化配置 */
|
||||||
locale?: Object;
|
locale?: {};
|
||||||
/** 隐藏禁止选择的选项 */
|
/** 隐藏禁止选择的选项 */
|
||||||
hideDisabledOptions?: boolean;
|
hideDisabledOptions?: boolean;
|
||||||
/** 禁止选择部分小时选项 */
|
/** 禁止选择部分小时选项 */
|
||||||
|
@ -27,16 +27,16 @@ export interface TransferListProps {
|
|||||||
/** 标题 */
|
/** 标题 */
|
||||||
titleText?: string;
|
titleText?: string;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
handleFilter?: Function;
|
handleFilter?: () => void;
|
||||||
handleSelect?: Function;
|
handleSelect?: () => void;
|
||||||
handleSelectAll?: Function;
|
handleSelectAll?: () => void;
|
||||||
handleClear?: Function;
|
handleClear?: () => void;
|
||||||
/** 每行渲染函数 */
|
/** 每行渲染函数 */
|
||||||
render?: Function;
|
render?: () => void;
|
||||||
/** 主体渲染函数 */
|
/** 主体渲染函数 */
|
||||||
body?: Function;
|
body?: () => void;
|
||||||
/** 底部渲染函数 */
|
/** 底部渲染函数 */
|
||||||
footer?: Function;
|
footer?: () => void;
|
||||||
/** 选中项 */
|
/** 选中项 */
|
||||||
checkedKeys?: Array<TransferItem>;
|
checkedKeys?: Array<TransferItem>;
|
||||||
checkStatus?: boolean;
|
checkStatus?: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user