Defaults: GallerySection to HeadingSection
The defaults of @poltura/theme-sdk/sections, GallerySection to HeadingSection.
On this page
import { … } from '@poltura/theme-sdk/sections';GallerySection
The platform's Gallery section: image grid.
GallerySection(props: ElementRenderProps<PlatformSectionSettings<'gallery'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { GallerySection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('gallery', (props) => (
<div className="theme-frame">
<GallerySection {...props} />
</div>
));See also: overrideSection
HeadingSection
The platform's Heading section: standalone section title and intro.
HeadingSection(props: ElementRenderProps<PlatformSectionSettings<'heading'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { HeadingSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('heading', (props) => (
<div className="theme-frame">
<HeadingSection {...props} />
</div>
));See also: overrideSection