Defaults: CopySection to CtaStripSection
Ez az oldal még csak angolul érhető el.
The defaults of @poltura/theme-sdk/sections, CopySection to CtaStripSection.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/sections';CopySection
The platform's Copy block section: centered brand message.
CopySection(props: ElementRenderProps<PlatformSectionSettings<'copy'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { CopySection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('copy', (props) => (
<div className="theme-frame">
<CopySection {...props} />
</div>
));See also: overrideSection
CtaStripSection
The platform's Call to action section: heading, body, and button.
CtaStripSection(props: ElementRenderProps<PlatformSectionSettings<'cta-strip'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { CtaStripSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('cta-strip', (props) => (
<div className="theme-frame">
<CtaStripSection {...props} />
</div>
));See also: overrideSection