Fejlesztőknek
Kezdj bele
Témák/Theme SDK/Modules/content/Constants

Constants

Ez az oldal még csak angolul érhető el.

The constants of @poltura/theme-sdk/content.

Ezen az oldalon
import { … } from '@poltura/theme-sdk/content';

contactRegions

The contact template's regions, where merchants place blocks.

const contactRegions: {
    readonly head: 'head';
    readonly main: 'main';
    readonly aside: 'aside';
    readonly foot: 'foot';
}

Example

import { Slot } from '@poltura/theme-sdk/elements';
import { contactRegions } from '@poltura/theme-sdk/content';

export function ContactAside() {
  return <Slot name={contactRegions.aside} />;
}
Utoljára frissítve