UNPKG

@hhgtech/hhg-components

Version:
18 lines (17 loc) 589 B
import React from 'react'; import { UseControllerProps } from 'react-hook-form'; import type * as PhoneInputUtilsType from 'react-phone-number-input'; /** * * Component for Refactor LeadGenForm * with react-hook-form for UI/UX validate & manage state clearly * */ export type LeadGenFormPhoneProps = UseControllerProps & { label?: string; placeholder?: string; required?: boolean; countries?: PhoneInputUtilsType.Country[]; defaultCountry?: PhoneInputUtilsType.Country; }; export declare const LeadGenFormPhone: (props: any) => React.JSX.Element;