tinky / SeparatorProps
Props for the Separator component.
readonlyoptionalbackgroundColor?:LiteralUnion<ForegroundColorName,string>
Same as color, but for the background.
readonlyoptionalbold?:boolean
Make the text bold.
readonlyoptionalchar?:string
The character to repeat for the separator line.
"─";<Separator char="=" />
readonlyoptionalcolor?:LiteralUnion<ForegroundColorName,string>
Change text color. Tinky uses Ansis under the hood, so all its functionality is supported.
readonlyoptionaldimColor?:boolean
Dim the color (make it less bright).
readonlyoptionaldirection?:"horizontal"|"vertical"
The direction of the separator.
"horizontal": The separator will expand horizontally to fill the container's width. Height will be 1 row."vertical": The separator will expand vertically to fill the container's height. Width will be 1 column.
"horizontal";
readonlyoptionalinverse?:boolean
Inverse background and foreground colors.
readonlyoptionalitalic?:boolean
Make the text italic.
readonlyoptionalstrikethrough?:boolean
Make the text crossed out with a line.
readonlyoptionalunderline?:boolean
Make the text underlined.