Defaults: BentoSection
Ez az oldal még csak angolul érhető el.
The defaults of @poltura/theme-sdk/sections, BentoSection to BentoSection.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/sections';BentoSection
The platform's Bento hero section: a grid of pictures, products and link cards, with an optional top-sellers rail.
BentoSection(props: ElementRenderProps<PlatformSectionSettings<'bento'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { BentoSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('bento', (props) => (
<div className="theme-frame">
<BentoSection {...props} />
</div>
));See also: overrideSection