TilesStyleProps
Type definitions
Properties
width
Width of a component in pixels.
- Type:
number
height
Height of a component in pixels.
- Type:
number
backgroundColor
Background color in #RRGGBBAA
or #RRGGBB
format.
- Type:
string
- Default value:
#00000000
tileAspectRatio
Aspect ratio of each tile in W:H
format, where W
and H
are integers.
- Type:
string
- Default value:
16:9
margin
Margin on each tile in pixels.
- Type:
number
- Default value:
0
padding
Padding on each tile in pixels.
- Type:
number
- Default value:
0
horizontalAlign
Horizontal alignment of tiles.
- Type:
"left" | "right" | "justified" | "center"
- Default value:
"center"
verticalAlign
Vertical alignment of tiles.
- Type:
"top" | "center" | "bottom" | "justified"
- Default value:
"center"