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