mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 00:09:39 +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;
|