Developers
Start building
Themes/Theme SDK/Modules/sections/Defaults: TrustSection to VideoSection

Defaults: TrustSection to VideoSection

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

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

TrustSection

The platform's Trust strip section: three trust points under a heading.

TrustSection(props: ElementRenderProps<PlatformSectionSettings<'trust'>>): ReactNode

Props: ElementRenderProps

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

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

See also: overrideSection

VideoSection

The platform's Video section: embedded YouTube or Vimeo player.

VideoSection(props: ElementRenderProps<PlatformSectionSettings<'video'>>): ReactNode

Props: ElementRenderProps

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

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

See also: overrideSection

Last updated