UNPKG

@redhare/lowcode-types

Version:

Types for Ali lowCode engine

44 lines (43 loc) 838 B
import { ReactNode } from 'react'; import { IPublicTypeI18nData, IPublicTypeIconType, IPublicTypeTitleContent, TipContent } from './'; export interface IPublicTypeTitleProps { /** * 标题内容 */ title: IPublicTypeTitleContent; /** * className */ className?: string; /** * 点击事件 */ onClick?: () => void; match?: boolean; keywords?: string; } /** * 描述 props 的 setter title */ export interface IPublicTypeTitleConfig { /** * 文字描述 */ label?: IPublicTypeI18nData | ReactNode; /** * hover 后的展现内容 */ tip?: TipContent; /** * 文档链接,暂未实现 */ docUrl?: string; /** * 图标 */ icon?: IPublicTypeIconType; /** * CSS 类 */ className?: string; }