UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

10 lines (9 loc) 353 B
import * as React from 'react'; import { BlockProps } from './Base'; declare const TITLE_ELE_LIST: [1, 2, 3, 4, 5]; export declare type TitleProps = Omit<BlockProps & { level?: typeof TITLE_ELE_LIST[number]; onClick?: (e?: React.MouseEvent<HTMLDivElement>) => void; }, 'strong'>; declare const Title: React.FC<TitleProps>; export default Title;