BottomBarItemModel
BottomBarItemModel = {
icon?:string;kind:"resource";label:string;resource:string; } | {icon?:string;kind:"page";label:string;page:string; } | {href:string;icon?:string;kind:"link";label:string; }
Defined in: packages/schema/src/model.ts:1077
A tab of a bottom bar on phones: icon above an explicit label.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ icon?: string; kind: "resource"; label: string; resource: string; }
optionalicon?:string
The tab’s icon; the resource’s sidebar icon when omitted.
kind:
"resource"
Opens a resource’s list.
label:
string
The tab’s label.
resource
Section titled “resource”resource:
string
The resource.
Type Literal
Section titled “Type Literal”{ icon?: string; kind: "page"; label: string; page: string; }
optionalicon?:string
The tab’s icon; the page’s own when omitted.
kind:
"page"
Opens a composed page.
label:
string
The tab’s label.
page:
string
The page.
Type Literal
Section titled “Type Literal”{ href: string; icon?: string; kind: "link"; label: string; }
href:
string
The address: https:, http: or mailto:.
optionalicon?:string
The tab’s icon.
kind:
"link"
Opens an address outside the admin in a new tab.
label:
string
The tab’s label.