Defaults: StepsSection to StoreFormSection
The defaults of @poltura/theme-sdk/sections, StepsSection to StoreFormSection.
On this page
import { … } from '@poltura/theme-sdk/sections';StepsSection
The platform's Steps section: numbered how-it-works list.
StepsSection(props: ElementRenderProps<PlatformSectionSettings<'steps'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { StepsSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('steps', (props) => (
<div className="theme-frame">
<StepsSection {...props} />
</div>
));See also: overrideSection
StoreFormSection
The platform's Form section: choose a form and show it on the page, in a popup or in a side panel.
StoreFormSection(props: ElementRenderProps<PlatformSectionSettings<'store-form'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { StoreFormSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('store-form', (props) => (
<div className="theme-frame">
<StoreFormSection {...props} />
</div>
));See also: overrideSection