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

Constants

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

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

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

productRegions

The regions of the product page's main section, for Slot.

const productRegions: {
    readonly media: 'media';
    readonly details: 'details';
    readonly below: 'below';
}

Example

import { Slot } from '@poltura/theme-sdk/elements';
import { productRegions } from '@poltura/theme-sdk/product';

export function DetailsColumn() {
  return <Slot name={productRegions.details} />;
}
Utoljára frissítve