UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

23 lines (22 loc) 738 B
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import '@douyinfe/semi-foundation/lib/cjs/typography/typography.css'; import { BaseProps } from '../_base/baseComponent'; interface TypographyProps extends BaseProps { component?: React.ElementType; forwardRef?: React.RefObject<any>; } declare class Typography extends PureComponent<TypographyProps> { static defaultProps: { component: string; style: {}; className: string; }; static propTypes: { component: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; className: PropTypes.Requireable<string>; }; render(): React.JSX.Element; } export default Typography;