TextLine
Components
TextLine()
TextLine(
props
,context
?):ReactNode
The TextLine component offers a quick way to include placeholder text lines in your app. These placeeholder text lines are useful as loading indicators before the real content gets rendered. The component supports many customization options such as width, height, radius, animation, etc.
Parameters
Parameter | Type |
---|---|
props | TextLineProps |
context ? | any |
Returns
ReactNode
Example
<TextLine title="tagName" animated={true} width="w-[110px]" height="h-[1rem]" />
Source
libs/design-system-core/src/components/TextLine/index.tsx:32
Props
TextLineProps
TextLineProps:
object
Type declaration
Member | Type |
---|---|
animated | boolean |
customStyle | string |
height | string | number |
round | string |
title | string |
width | string | number |