mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
fix: Typography ellipsis.suffix type (#28959)
* fix: Typography: update EllipsisConfig interface * docs: update Typography doc
This commit is contained in:
parent
7f50e3fe3e
commit
934f1b78dd
@ -44,7 +44,7 @@ interface EditConfig {
|
||||
interface EllipsisConfig {
|
||||
rows?: number;
|
||||
expandable?: boolean;
|
||||
suffix?: string;
|
||||
suffix?: React.ReactNode;
|
||||
symbol?: React.ReactNode;
|
||||
onExpand?: React.MouseEventHandler<HTMLElement>;
|
||||
onEllipsis?: (ellipsis: boolean) => void;
|
||||
|
@ -107,7 +107,7 @@ Basic text writing, including headings, body text, lists, and more.
|
||||
{
|
||||
rows: number,
|
||||
expandable: boolean,
|
||||
suffix: string,
|
||||
suffix: ReactNode,
|
||||
symbol: ReactNode,
|
||||
onExpand: function(event),
|
||||
onEllipsis: function(ellipsis),
|
||||
|
@ -107,7 +107,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg
|
||||
{
|
||||
rows: number,
|
||||
expandable: boolean,
|
||||
suffix: string,
|
||||
suffix: ReactNode,
|
||||
symbol: ReactNode,
|
||||
onExpand: function(event),
|
||||
onEllipsis: function(ellipsis),
|
||||
|
Loading…
Reference in New Issue
Block a user