@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
29 lines (28 loc) • 679 B
JavaScript
import { createContext as e } from "react";
const t = e({
countries: [],
isOpenSelector: !1,
selectedCountry: {
code: "US",
flag: () => null,
name: "United States",
prefix: "+1"
},
termOfSearch: "",
value: "",
handleOpenSelector() {
throw new Error("handleOpenSelector function is not implemented");
},
handleSelectCountry() {
throw new Error("handleSelectCountry function is not implemented");
},
onChangeTermOfSearch() {
throw new Error("onChangeTermOfSearch function is not implemented");
},
onChangeValue() {
throw new Error("onChangeValue function is not implemented");
}
});
export {
t as PhoneNumberContext
};