Developers
Start building
Themes/Theme SDK/Modules/sections/Defaults: BentoSection

Defaults: BentoSection

The defaults of @poltura/theme-sdk/sections, BentoSection to BentoSection.

On this page
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'>>): ReactNode

Props: 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

Last updated