Truncate

Truncate kürzt zu lange Texte automatisch mit "…" ab.GitHubMarkdown

Properties

PropertyTypeDescription
title
string
children
ReactNode
className
string
The elements class name.
offset
numberDefault: 8
the position(from the end) of the ellipsis that shows in text
ellipsis
stringDefault: ...
Ellipsis that is added into the text in case it is truncated

Auf dieser Seite