Skip to content

Interface: BackgroundProps ​

Table of contents ​

Properties ​

Properties ​

bgColor ​

• Optional bgColor: string

Background color


gap ​

• Optional gap: number | number[]

Background pattern gap


height ​

• Optional height: number

Deprecated

Background height


id ​

• Optional id: string


lineWidth ​

• Optional lineWidth: number


offset ​

• Optional offset: number

Background offset


patternColor ​

• Optional patternColor: string

Background pattern color


size ​

• Optional size: number

Background pattern size


variant ​

• Optional variant: BackgroundVariant | "lines" | "dots"

The background pattern variant


width ​

• Optional width: number

Deprecated

Background width


x ​

• Optional x: number

Background x-coordinate (offset x)


y ​

• Optional y: number

Background y-coordinate (offset y)

Released under the MIT License.