OptionaldefaultLayoutConfig?: DefaultLayoutConfigOptionalitemSettings?: ConfigSetting[]OptionalsettingsSummary?: (agencyData: { subdomain?: string }) => React.ReactNodeOptionalvariantDefaultLayoutConfig?: { [key: string]: DefaultLayoutConfig }OptionalvariantInitialConfig?: { [variantName: string]: () => Partial<T> }OptionalvariantItemSettings?: { [key: string]: ConfigSetting[] }
Optional config-generating functions keyed by variant name. When the user switches a section to a variant that has an entry here, the section's configuration is regenerated from this function (preserving only the section
idand the newly selectedvariant).Use this when a variant needs a substantially different set of default elements or settings to the one produced by
initialConfig.