antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
18 lines (17 loc) • 583 B
TypeScript
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 declare const TypographyDefaultProps: ITypographyProps;