Properties of a ToolbarControl component.

interface ToolbarControlProps {
    backgroundColor?: string;
    borderSize?: number;
    height?: number;
    items: toolbarItem[];
    justifyContent?: "left" | "right" | "center" | "space-between";
    orientation?: "horizontal" | "vertical";
    padding?: number;
    width?: number;
}

Properties

backgroundColor?: string

The background color.

borderSize?: number

The border size.

height?: number

The toolbar height.

items: toolbarItem[]

The toolbar items.

justifyContent?: "left" | "right" | "center" | "space-between"

How to justify the items.

orientation?: "horizontal" | "vertical"

The orientation.

padding?: number

The padding.

width?: number

The toolbar width.