import { productComponent } from '../Product/stories.utils';

export default {
   ...productComponent,
   title: "ProductList",
   parameters: {
      server: {
         id: "ProductList"
      },
      viewport: {
         defaultViewport: "mobile2",
      },
   },
};

export const SquareItem = {
   name: "SquareItem",
   parameters: {
      server: {
         id: "ProductList:SquareItem"
      }
   },
};

export const LineItem = {
   name: "LineItem",
   parameters: {
      server: {
         id: "ProductList:LineItem"
      }
   },
   args: {
      show_buyform: true
   }
};

export const PreviewItem = {
   name: "PreviewItem",
   parameters: {
      server: {
         id: "ProductList:PreviewItem"
      }
   },
};

export const AccountItem = {
   name: "AccountItem",
   parameters: {
      server: {
         id: "ProductList:AccountItem"
      }
   },
};
