Skip to main content

Border Types

CommonBorderStyles Type

The CommonBorderStyles type defines the various styles that can be applied to borders. It includes all of the valid CSS border-style value.

type CommonBorderStyles =
| "solid"
| "double"
| "dotted"
| "dashed"
| "outset"
| "inset"
| "groove"
| "ridge";

BorderColorOptional Type

An optional value of the IBorderColor interface.

type BorderColorOptional = Partial<IBorderColor>;

BorderWidthOptional Type

An optional value of the IBorderWidth interface.

type BorderWidthOptional = Partial<IBorderWidth>;

BorderStyleOptional Type

An optional value of the IBorderColor

type BorderStyleOptional = Partial<IBorderStyle>;

BorderOptions Type

An intersection value of IBorderWidth, IBorderColor, IBorderStyle

type BorderOptions = IBorderWidth & IBorderColor & IBorderStyle;

BorderOptionsOptional Type

An Optional value of the BorderOptions

type BorderOptions = Partial<BorderOptions>;

FullBorderOptions Type

A type alias for BorderOptionsOptional

type FullBorderOptions = BorderOptionsOptional;

ThinBorderSides Type

Specifies the sides to which a thin border can be applied.

type ThinBorderSides =
| "top"
| "right"
| "bottom"
| "left"
| "horizontal"
| "vertical";