mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
a21c1a88c1
* fix: Typography.Paragraph\Text\Title ts * feat: add doc * feat: title ts * feat: cr * chore: revert * chore: ts * feat: doc/sort & drop onChange
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import * as React from 'react';
|
|
import Base, { BlockProps } from './Base';
|
|
|
|
export interface ParagraphProps extends BlockProps {
|
|
onClick?: (e?: React.MouseEvent<HTMLDivElement>) => void;
|
|
}
|
|
|
|
const Paragraph: React.FC<ParagraphProps> = props => <Base {...props} component="div" />;
|
|
|
|
export default Paragraph;
|