mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
7b94e0bfb2
* refactor: replace deprecated React.SFC with React.FunctionComponent * refactoring: use typedef FC
9 lines
248 B
TypeScript
9 lines
248 B
TypeScript
import * as React from 'react';
|
|
import Base, { BlockProps } from './Base';
|
|
|
|
export interface ParagraphProps extends BlockProps {}
|
|
|
|
const Paragraph: React.FC<ParagraphProps> = props => <Base {...props} component="div" />;
|
|
|
|
export default Paragraph;
|