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

Defaults: BannerSection

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

On this page
import { … } from '@poltura/theme-sdk/sections';

BannerSection

The platform's Banner section: full-width announcement or promo strip.

BannerSection(props: ElementRenderProps<PlatformSectionSettings<'banner'>>): ReactNode

Props: ElementRenderProps

import { overrideSection } from '@poltura/theme-sdk/elements';
import { BannerSection } from '@poltura/theme-sdk/sections';

export const framed = overrideSection('banner', (props) => (
  <div className="theme-frame">
    <BannerSection {...props} />
  </div>
));

See also: overrideSection

Last updated