@mediafly/frontend-api - v20.4.1
Preparing search index...
MockWorkspaceNavigationSection
Function MockWorkspaceNavigationSection
MockWorkspaceNavigationSection
(
overrides
?:
{
colSpan
?:
ColSpan
;
id
?:
string
;
metadata
?:
{
backgroundColor
?:
string
;
defaultItemSlug
?:
string
;
hideImage
?:
boolean
;
hideText
?:
boolean
;
isNavBar
?:
boolean
;
itemStyle
?:
"default"
|
"thumbnail-only"
|
"title-only"
|
"navbar"
;
navigationSectionItems
?:
(
|
{
fileSlug
?:
string
;
fontIcon
?:
{
key
?:
(...)
|
(...)
;
unicode
?:
(...)
|
(...)
}
;
slug
?:
string
;
type
?:
NavigationSectionItemType
;
}
|
undefined
)
[]
;
padding
?:
{
bottom
?:
number
;
left
?:
number
;
right
?:
number
;
top
?:
number
;
}
;
title
?:
string
;
titleStyle
?:
{
align
?:
"center"
|
"left"
|
"right"
;
backgroundColor
?:
string
;
borderThickness
?:
"medium"
|
"thin"
|
"thick"
;
corner
?:
"rounded"
|
"straight"
;
fontColor
?:
string
;
fontFamily
?:
string
;
fontSize
?:
string
;
fontVariant
?:
string
;
style
?:
"border"
|
"solid"
|
"bottom-border"
;
}
;
type
?:
NavigationSectionType
;
}
;
offset
?:
number
;
type
?:
"navigation"
;
}
,
)
:
NavigationSection
Parameters
Optional
overrides
:
{
colSpan
?:
ColSpan
;
id
?:
string
;
metadata
?:
{
backgroundColor
?:
string
;
defaultItemSlug
?:
string
;
hideImage
?:
boolean
;
hideText
?:
boolean
;
isNavBar
?:
boolean
;
itemStyle
?:
"default"
|
"thumbnail-only"
|
"title-only"
|
"navbar"
;
navigationSectionItems
?:
(
|
{
fileSlug
?:
string
;
fontIcon
?:
{
key
?:
(...)
|
(...)
;
unicode
?:
(...)
|
(...)
}
;
slug
?:
string
;
type
?:
NavigationSectionItemType
;
}
|
undefined
)
[]
;
padding
?:
{
bottom
?:
number
;
left
?:
number
;
right
?:
number
;
top
?:
number
}
;
title
?:
string
;
titleStyle
?:
{
align
?:
"center"
|
"left"
|
"right"
;
backgroundColor
?:
string
;
borderThickness
?:
"medium"
|
"thin"
|
"thick"
;
corner
?:
"rounded"
|
"straight"
;
fontColor
?:
string
;
fontFamily
?:
string
;
fontSize
?:
string
;
fontVariant
?:
string
;
style
?:
"border"
|
"solid"
|
"bottom-border"
;
}
;
type
?:
NavigationSectionType
;
}
;
offset
?:
number
;
type
?:
"navigation"
;
}
Returns
NavigationSection
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mediafly/frontend-api - v20.4.1
Loading...