@aplus-frontend/ui
Version:
28 lines (27 loc) • 673 B
TypeScript
import { UiModeType } from '../../config-provider';
/**
* ApTitle Props 属性类型声明
*/
export interface ApTitleProps {
/**
* 小标题
*/
title?: string;
/**
* 帮助消息
*/
helpMessage?: string;
/**
* 帮助消息图标颜色
*/
helpIconColor?: string;
/**
* 气泡框位置 默认top
*/
placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
/**
* 气泡触发行为 默认hover
*/
trigger?: 'hover' | 'focus' | 'click' | 'contextmenu';
uiMode?: UiModeType;
}