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

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

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

Last updated