@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
14 lines (13 loc) • 312 B
JavaScript
import { useContext as o } from "react";
import { PhoneNumberContext as t } from "./phone-number.context.js";
const u = () => {
const e = o(t);
if (!e)
throw new Error(
"usePhoneNumberContext must be used within a PhoneNumberProvider"
);
return e;
};
export {
u as usePhoneNumberContext
};