Defaults: BannerSection
Ez az oldal még csak angolul érhető el.
The defaults of @poltura/theme-sdk/sections, BannerSection to BannerSection.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/sections';BannerSection
The platform's Banner section: full-width announcement or promo strip.
BannerSection(props: ElementRenderProps<PlatformSectionSettings<'banner'>>): ReactNodeProps: 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