UNPKG

antd-mini

Version:

antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。

36 lines (33 loc) 842 B
import { IBaseProps, IconType } from '../_util/base'; export interface ITypographyProps extends IBaseProps { text?: string; iconPosition?: 'left' | 'right'; icon?: IconType | string; activeClassName?: string; disabled?: boolean; selectable?: boolean; fontWeight?: 'normal' | 'medium' | 'bold' | ''; lineThrough?: boolean; underline?: boolean; ellipsisRow?: number; onTap?: (event: any) => void; catchTap?: (event: any) => void; onDisabledTap?: (event: any) => void; } export const TypographyDefaultProps: ITypographyProps = { text: '', iconPosition: 'right', icon: '', className: '', activeClassName: '', style: '', disabled: false, selectable: false, fontWeight: 'normal', lineThrough: false, underline: false, ellipsisRow: null, onTap: null, catchTap: null, onDisabledTap: null, };