Defaults: TrustSection to VideoSection
Ez az oldal még csak angolul érhető el.
The defaults of @poltura/theme-sdk/sections, TrustSection to VideoSection.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/sections';TrustSection
The platform's Trust strip section: three trust points under a heading.
TrustSection(props: ElementRenderProps<PlatformSectionSettings<'trust'>>): ReactNodeProps: 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'>>): ReactNodeProps: 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