Defaults: HeroSection
The defaults of @poltura/theme-sdk/sections, HeroSection to HeroSection.
On this page
import { … } from '@poltura/theme-sdk/sections';HeroSection
The platform's Hero section: headline, copy and buttons over the page opening.
HeroSection(props: ElementRenderProps<PlatformSectionSettings<'hero'>>): ReactNodeProps: ElementRenderProps
import { overrideSection } from '@poltura/theme-sdk/elements';
import { HeroSection } from '@poltura/theme-sdk/sections';
export const framed = overrideSection('hero', (props) => (
<div className="theme-frame">
<HeroSection {...props} />
</div>
));See also: overrideSection