Search Docs
Loading...
Skip to content

Type Alias: TextDecorationLine

type TextDecorationLine = "None" | "Underline" | "Strikethrough" | "Overline";

Represents a line type for text decoration.

Text decoration lines are combinable — a range of text can have multiple decoration lines.

  • ‘None’: No decoration.
  • ‘Underline’: The text is underlined.
  • ‘Strikethrough’: The text has a line through it.
  • ‘Overline’: The text has a line above it.