Interface StiggContextValue

Hierarchy

  • StiggContextValue

Properties

customerPortalUpdatedAt?: Date
isInitialized: boolean
locale: string
refreshData: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

theme?: { border?: { radius?: string | undefined; }; customCss?: string; layout?: { planMinWidth?: string | undefined; planMaxWidth?: string | undefined; planMargin?: string | undefined; planPadding?: string | undefined; ctaAlignment?: HorizontalAlignment | undefined; headerAlignment?: HorizontalAlignment | undefined; descriptionAlignment?: TextAlignment | undefined; descriptionMinHeight?: string...; palette?: { primary?: string | undefined; primaryDark?: string | undefined; primaryLight?: string | undefined; backgroundPaper?: string | undefined; backgroundHighlight?: string | undefined; ... 14 more ...; text?: { ...; } | undefined; }; shadows?: { light?: string | undefined; popover?: string | undefined; }; typography?: { fontFamily?: string | undefined; fontFamilyUrl?: string | undefined; h1?: { fontSize?: string | undefined; fontWeight?: FontWeight | undefined; } | undefined; h2?: { fontSize?: string | undefined; fontWeight?: FontWeight | undefined; } | undefined; h3?: { ...; } | undefined; body?: { ...; } | undefined; caption?: ... }

Type declaration

  • Optional border?: { radius?: string | undefined; }
  • Optional customCss?: string
  • Optional layout?: { planMinWidth?: string | undefined; planMaxWidth?: string | undefined; planMargin?: string | undefined; planPadding?: string | undefined; ctaAlignment?: HorizontalAlignment | undefined; headerAlignment?: HorizontalAlignment | undefined; descriptionAlignment?: TextAlignment | undefined; descriptionMinHeight?: string...
  • Optional palette?: { primary?: string | undefined; primaryDark?: string | undefined; primaryLight?: string | undefined; backgroundPaper?: string | undefined; backgroundHighlight?: string | undefined; ... 14 more ...; text?: { ...; } | undefined; }
  • Optional shadows?: { light?: string | undefined; popover?: string | undefined; }
  • Optional typography?: { fontFamily?: string | undefined; fontFamilyUrl?: string | undefined; h1?: { fontSize?: string | undefined; fontWeight?: FontWeight | undefined; } | undefined; h2?: { fontSize?: string | undefined; fontWeight?: FontWeight | undefined; } | undefined; h3?: { ...; } | undefined; body?: { ...; } | undefined; caption?: ...
updatedAt?: Date