import { SearchList } from "./SearchList.mjs";
var SearchList_stories_default = {
  component: SearchList,
  parameters: {
    viewport: {
      defaultViewport: "mobile2"
    }
  }
};
const Search = {
    args: {
      onChange: () => {},
      value: "B",
      searchFunc: async () => (await sleep(1500), [{
        label: "Result A",
        value: "A"
      }, {
        label: "Result B",
        value: "B"
      }, {
        label: "Result C",
        value: "C"
      }])
    }
  },
  NoResults = {
    args: {
      onChange: () => {},
      value: "B",
      searchFunc: async () => (await sleep(500), [])
    }
  };
function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}
export { NoResults, Search, SearchList_stories_default as default };
//# sourceMappingURL=SearchList.stories.mjs.map
