@stigg/react-sdk - v10.8.0
Preparing search index...
StiggContextValue
Interface StiggContextValue
interface
StiggContextValue
{
customerPortalUpdatedAt
?:
Date
;
isInitialized
:
boolean
;
locale
:
string
;
refreshData
:
()
=>
Promise
<
void
>
;
stigg
:
StiggClient
;
theme
?:
{
border
?:
{
radius
?:
string
}
;
customCss
?:
string
;
layout
?:
{
ctaAlignment
?:
HorizontalAlignment
;
descriptionAlignment
?:
TextAlignment
;
descriptionMinHeight
?:
string
;
headerAlignment
?:
HorizontalAlignment
;
planMargin
?:
string
;
planMaxWidth
?:
string
;
planMinWidth
?:
string
;
planPadding
?:
string
;
switchBottomSpacing
?:
string
;
}
;
palette
?:
{
backgroundButton
?:
string
;
backgroundHighlight
?:
string
;
backgroundPaper
?:
string
;
backgroundSection
?:
string
;
error
?:
string
;
errorDark
?:
string
;
outlinedBorder
?:
string
;
outlinedHoverBackground
?:
string
;
outlinedRestingBorder
?:
string
;
primary
?:
string
;
primaryDark
?:
string
;
primaryLight
?:
string
;
progress
?:
{
background
?:
string
;
high
?:
string
;
low
?:
string
;
medium
?:
string
;
}
;
statusChips
?:
{
error
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
info
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
neutral
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
success
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
warning
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
}
;
success
?:
string
;
successDark
?:
string
;
switchBorder
?:
string
;
switchFill
?:
string
;
switchHandle
?:
string
;
text
?:
{
disabled
?:
string
;
primary
?:
string
;
secondary
?:
string
;
tertiary
?:
string
;
}
;
warning
?:
string
;
white
?:
string
;
}
;
shadows
?:
{
light
?:
string
;
popover
?:
string
}
;
typography
?:
{
body
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
caption
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
fontFamily
?:
string
;
fontFamilyUrl
?:
string
;
h1
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
h2
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
h3
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
}
;
}
;
updatedAt
?:
Date
;
}
Index
Properties
customer
Portal
Updated
At?
is
Initialized
locale
refresh
Data
stigg
theme?
updated
At?
Properties
Optional
customer
Portal
Updated
At
customerPortalUpdatedAt
?:
Date
is
Initialized
isInitialized
:
boolean
locale
locale
:
string
refresh
Data
refreshData
:
()
=>
Promise
<
void
>
stigg
stigg
:
StiggClient
Optional
theme
theme
?:
{
border
?:
{
radius
?:
string
}
;
customCss
?:
string
;
layout
?:
{
ctaAlignment
?:
HorizontalAlignment
;
descriptionAlignment
?:
TextAlignment
;
descriptionMinHeight
?:
string
;
headerAlignment
?:
HorizontalAlignment
;
planMargin
?:
string
;
planMaxWidth
?:
string
;
planMinWidth
?:
string
;
planPadding
?:
string
;
switchBottomSpacing
?:
string
;
}
;
palette
?:
{
backgroundButton
?:
string
;
backgroundHighlight
?:
string
;
backgroundPaper
?:
string
;
backgroundSection
?:
string
;
error
?:
string
;
errorDark
?:
string
;
outlinedBorder
?:
string
;
outlinedHoverBackground
?:
string
;
outlinedRestingBorder
?:
string
;
primary
?:
string
;
primaryDark
?:
string
;
primaryLight
?:
string
;
progress
?:
{
background
?:
string
;
high
?:
string
;
low
?:
string
;
medium
?:
string
;
}
;
statusChips
?:
{
error
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
info
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
neutral
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
success
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
warning
?:
{
background
?:
string
;
border
?:
string
;
text
?:
string
}
;
}
;
success
?:
string
;
successDark
?:
string
;
switchBorder
?:
string
;
switchFill
?:
string
;
switchHandle
?:
string
;
text
?:
{
disabled
?:
string
;
primary
?:
string
;
secondary
?:
string
;
tertiary
?:
string
;
}
;
warning
?:
string
;
white
?:
string
;
}
;
shadows
?:
{
light
?:
string
;
popover
?:
string
}
;
typography
?:
{
body
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
caption
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
fontFamily
?:
string
;
fontFamilyUrl
?:
string
;
h1
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
h2
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
h3
?:
{
fontSize
?:
string
;
fontWeight
?:
"bold"
|
"normal"
;
semanticElement
?:
|
"h1"
|
"h2"
|
"h3"
|
"h4"
|
"h5"
|
"h6"
|
"p"
|
"span"
|
"div"
;
}
;
}
;
}
Optional
updated
At
updatedAt
?:
Date
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
customer
Portal
Updated
At
is
Initialized
locale
refresh
Data
stigg
theme
updated
At
@stigg/react-sdk - v10.8.0
Loading...