import { productArgs, productArgsTypes, productComponent } from '../stories.utils';

export default {
   ...productComponent,
   title: "Product/Templates",
   parameters: {
      server: {
         id: "Product:Templates"
      }
   },
   argTypes: {
      ...productArgsTypes,
      position: {
         name: "Position",
         control: "select",
         options: {
            "Popis": "description",
            "Cena": "price",
            "Velikostní tabulka": "size-table",
         }
      }
   },
};

export const Templates = {
   name: "Popis",
   args: {
      position: "description",
      id_product: 6136,
   }
};

export const Templates2 = {
   name: "Cena",
   args: {
      position: "price",
      id_product: 6136,
      id_variation: 13346,
   }
};

export const Templates3 = {
   name: "Velikostní tabulka",
   args: {
      position: "size-table",
      id_product: 6136,
   }
};
