@movmo_app/react-common 0.8.1 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -212,6 +212,23 @@ export declare interface PassengerFormSkeletonProps {
212
212
  showFooter?: boolean;
213
213
  }
214
214
 
215
+ export declare const PhoneInput: default_2.FC<PhoneInputProps>;
216
+
217
+ export declare interface PhoneInputProps {
218
+ value: string;
219
+ onChange: (value: string, countryCode: string) => void;
220
+ error?: string | null;
221
+ onBlur?: () => void;
222
+ id?: string;
223
+ name?: string;
224
+ required?: boolean;
225
+ defaultCountry?: string;
226
+ className?: string;
227
+ responsive?: boolean;
228
+ enableSearch?: boolean;
229
+ autoComplete?: string;
230
+ }
231
+
215
232
  export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
216
233
 
217
234
  declare interface SearchInputProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
@@ -263,4 +280,6 @@ declare interface ToggleProps extends React_2.ComponentPropsWithoutRef<typeof Sw
263
280
  size?: 'sm' | 'md';
264
281
  }
265
282
 
283
+ export declare function validatePhoneNumber(phone: string, countryCode?: string): boolean;
284
+
266
285
  export { }