@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
16 lines (15 loc) • 550 B
TypeScript
import type { AvatarProps, DropDownProps } from 'antd';
import React from 'react';
export interface ProCardHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
/** 图标 src 路径或者详细配置 */
icon?: AvatarProps;
/** 标题 */
title?: React.ReactNode;
/** 描述 */
description?: React.ReactNode;
/** 右侧扩展区域 */
extra?: DropDownProps;
/** 控制 header 与 content 的分割线 */
divider?: boolean;
}
export declare const ProCardHeader: React.FC<ProCardHeaderProps>;