mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
type: rm duplicate boolean type (#49816)
This commit is contained in:
parent
0651f84ee7
commit
34a2058e85
@ -103,7 +103,7 @@ export type TreeNodeNormal = DataNode;
|
||||
type DraggableFn = (node: DataNode) => boolean;
|
||||
|
||||
interface DraggableConfig {
|
||||
icon?: React.ReactNode | false;
|
||||
icon?: React.ReactNode;
|
||||
nodeDraggable?: DraggableFn;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
||||
|
||||
{
|
||||
icon: ReactNode,
|
||||
tooltip: boolean | ReactNode,
|
||||
tooltip: ReactNode,
|
||||
editing: boolean,
|
||||
maxLength: number,
|
||||
autoSize: boolean | { minRows: number, maxRows: number },
|
||||
@ -148,7 +148,7 @@ interface EllipsisConfig {
|
||||
suffix: string;
|
||||
/** render function added in `5.16.0` */
|
||||
symbol: ReactNode | ((expanded: boolean) => ReactNode);
|
||||
tooltip: boolean | ReactNode | TooltipProps;
|
||||
tooltip: ReactNode | TooltipProps;
|
||||
/** added in `5.16.0` */
|
||||
defaultExpanded: boolean;
|
||||
/** added in `5.16.0` */
|
||||
|
@ -109,7 +109,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*LT2jR41Uj2EAAA
|
||||
|
||||
{
|
||||
icon: ReactNode,
|
||||
tooltip: boolean | ReactNode,
|
||||
tooltip: ReactNode,
|
||||
editing: boolean,
|
||||
maxLength: number,
|
||||
autoSize: boolean | { minRows: number, maxRows: number },
|
||||
@ -149,7 +149,7 @@ interface EllipsisConfig {
|
||||
suffix: string;
|
||||
/** `5.16.0` 新增渲染函数 */
|
||||
symbol: ReactNode | ((expanded: boolean) => ReactNode);
|
||||
tooltip: boolean | ReactNode | TooltipProps;
|
||||
tooltip: ReactNode | TooltipProps;
|
||||
/** `5.16.0` 新增 */
|
||||
defaultExpanded: boolean;
|
||||
/** `5.16.0` 新增 */
|
||||
|
Loading…
Reference in New Issue
Block a user