Revert "fix: Typography ellipsis.suffix type (#28959)" (#28988)

This reverts commit 934f1b78dd.
This commit is contained in:
偏右 2021-01-22 18:49:13 +08:00 committed by GitHub
parent b006a662fe
commit 924a3303c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ interface EditConfig {
interface EllipsisConfig {
rows?: number;
expandable?: boolean;
suffix?: React.ReactNode;
suffix?: string;
symbol?: React.ReactNode;
onExpand?: React.MouseEventHandler<HTMLElement>;
onEllipsis?: (ellipsis: boolean) => void;

View File

@ -107,7 +107,7 @@ Basic text writing, including headings, body text, lists, and more.
{
rows: number,
expandable: boolean,
suffix: ReactNode,
suffix: string,
symbol: ReactNode,
onExpand: function(event),
onEllipsis: function(ellipsis),

View File

@ -107,7 +107,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg
{
rows: number,
expandable: boolean,
suffix: ReactNode,
suffix: string,
symbol: ReactNode,
onExpand: function(event),
onEllipsis: function(ellipsis),