cal.pub0.org/packages/ui/form/PhoneInputLazy.tsx

9 lines
240 B
TypeScript

import dynamic from "next/dynamic";
/** These are like 40kb that not every user needs */
const PhoneInputLazy = dynamic(
() => import("./PhoneInput")
) as unknown as typeof import("./PhoneInput").default;
export default PhoneInputLazy;