huangkairan
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
4 additions and
4 deletions
-
components/card/index.tsx
-
components/message/index.tsx
-
components/modal/Modal.tsx
-
components/tree/utils/iconUtil.tsx
|
|
@ -49,7 +49,7 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't |
|
|
|
cover?: React.ReactNode; |
|
|
|
actions?: React.ReactNode[]; |
|
|
|
tabList?: CardTabListType[]; |
|
|
|
tabBarExtraContent?: React.ReactNode | null; |
|
|
|
tabBarExtraContent?: React.ReactNode; |
|
|
|
onTabChange?: (key: string) => void; |
|
|
|
activeTabKey?: string; |
|
|
|
defaultActiveTabKey?: string; |
|
|
|
|
|
@ -198,7 +198,7 @@ function notice(args: ArgsProps): MessageType { |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
type ConfigContent = React.ReactNode | string; |
|
|
|
type ConfigContent = React.ReactNode; |
|
|
|
type ConfigDuration = number | (() => void); |
|
|
|
type JointContent = ConfigContent | ArgsProps; |
|
|
|
export type ConfigOnClose = () => void; |
|
|
|
|
|
@ -38,7 +38,7 @@ export interface ModalProps { |
|
|
|
/** 确定按钮 loading */ |
|
|
|
confirmLoading?: boolean; |
|
|
|
/** 标题 */ |
|
|
|
title?: React.ReactNode | string; |
|
|
|
title?: React.ReactNode; |
|
|
|
/** 是否显示右上角的关闭按钮 */ |
|
|
|
closable?: boolean; |
|
|
|
/** 点击确定回调 */ |
|
|
|
|
|
@ -10,7 +10,7 @@ import { isValidElement, cloneElement } from '../../_util/reactNode'; |
|
|
|
|
|
|
|
export default function renderSwitcherIcon( |
|
|
|
prefixCls: string, |
|
|
|
switcherIcon: React.ReactNode | null | undefined, |
|
|
|
switcherIcon: React.ReactNode, |
|
|
|
showLine: boolean | { showLeafIcon: boolean } | undefined, |
|
|
|
{ isLeaf, expanded, loading }: AntTreeNodeProps, |
|
|
|
) { |
|
|
|