Lorem ip|
1
2
3
4
5
6
7
8
<TypingTextas="p"
<TypingTexttext="Some text you want to have!"
<TypingTextduration={100}
<TypingTextclassName=" any class you want to have for styling "
<TypingTextcursor?={{symbol: "|", className?: "any-class-name" }}
<TypingTextnoCursor?={true}
<TypingTextspaceAtTextEnd?={true}
/>
| Properties | Type | Values | Default |
|---|---|---|---|
| as? | p | h1 | h2 | h3 | h4 | h5 | h6 | "p", "h1", "h2", "h3", "h4", "h5", "h6" | "p" |
| text | string | "Some text you want to have!" | |
| duration? | number | 100 (in milliseconds) | |
| className? | string | "any-styling-class" | |
| cursor? | CursorPropTypes | {symbol: "any character", className?:"any-styling-class"} | {symbol: "|", className?:"cursor-symbol-default-class"} |
| noCursor? | boolean | true, false | false |
| spaceAtTextEnd? | boolean | true, false | false |
| eachCharAsSpan? | boolean | true, false | false |
| Properties | Type | Values | Default |
|---|---|---|---|
| symbol | p | h1 | h2 | h3 | h4 | h5 | h6 | "any character" | "|" |
| className? | string | "any-styling-class" | "cursor-symbol-default-class" |