Truncate

Truncate wird verwendet, um zu lange Texte automatisch zu kürzen, sodass sie in ein vorgegebenes Layout passen. Dabei wird der entsprechende Text durch "..." abgekürzt.GitHubMarkdown
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

Properties

PropertyTypeDefaultDescription
titlestring-
childrenReactNode-
classNamestring-The elements class name.
offsetnumber8the position(from the end) of the ellipsis that shows in text
ellipsisstring...Ellipsis that is added into the text in case it is truncated

Auf dieser Seite