export default function useCountry() {
  function getCountries({ page = 1, limit = 10, search = "" } = {}) {
    return useNuxtApp().$api<Record<string, any>>(`https://www.apicountries.com/countries`, {
      method: "GET",
      query: { page, limit, search },
    });
  }
}
