ExcelStyle

Defines Excel cell style including font, alignment, borders, and formatting.

Props

The following table outlines the props for the ExcelStyle:

NameTypeDefaultDescription
backColor
string
-

Defines the background color for cell style

bold
boolean
-

Defines the bold style for fonts

borders
-

Defines the borders for cell style

fontColor
string
-

Defines the color of font

fontName
string
-

Defines the name of font

fontSize
number
-

Defines the size of font

hAlign
-

Defines the horizontal alignment for cell style

indent
number
-

Defines the indent for cell style

italic
boolean
-

Defines the italic style for fonts

numberFormat
string
-

Defines the format of the cell

rotation
number
-

Defines the rotation degree for cell style

strikeThrough
boolean
-

Defines the strike through of the cell

type
string
-

Defines the type of the cell

underline
boolean
-

Defines the underline style for fonts

vAlign
-

Defines the vertical alignment for cell style

wrapText
boolean
-

Defines the wrapText for cell style