Developers
Start building
Themes/Theme SDK/Modules/product/Constants

Constants

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

On this page
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} />;
}
Last updated