import docs from "./pn-find-service-and-price-docs.json";

export default {
  title: 'Components/Widgets /Find Service and Price',
  parameters: {
    notes: docs,
  },
};

const Template = ({ ...args }) => {
  return `
    <div style="max-width: 100%; margin:1em auto 0;">
      <pn-find-service-and-price
        source="${args.source}"
        market="${args.market}"
        language="${args.language}"
        ></pn-find-service-and-price>
    </div>
  `;
};

export const Primary = Template.bind({});
Primary.args = {
  source: 'https://com-inte.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx',
  language: 'sv',
  market: 'se',
};
