import docs from "./pn-find-price-docs.json";
import { fileLocation } from './data.js';

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

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

export const Primary = Template.bind({});
Primary.args = {
  source: fileLocation,
  language: 'sv',
  market: 'se',
};
