DashboardPageLink
DashboardPageLink:
object
Type declaration
dropdownChildren?
optional
dropdownChildren:DashboardPageLink
[]
Dropdown items for dropdown links (Requires type: 'dropdown'
)
icon
icon:
string
Icon to display for the link ( icon: ‘data:image/svg+xml;base64,PH…)
label
label:
string
Label for the link
link
link:
string
URL to redirect to
minRole
minRole:
"unknown"
|"visitor"
|"editor"
|"admin"
Minimum permission level required to view the link (unknown/visitor/editor/admin)
type
type:
"link"
|"dropdown"
Type of link (link/dropdown)
Defined in
packages/studiocms_core/src/types/pluginOptions.ts:1