@movmo_app/react-common 0.8.0 → 0.9.0

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,22 @@ 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
+ }
230
+
215
231
  export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
216
232
 
217
233
  declare interface SearchInputProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
@@ -263,4 +279,6 @@ declare interface ToggleProps extends React_2.ComponentPropsWithoutRef<typeof Sw
263
279
  size?: 'sm' | 'md';
264
280
  }
265
281
 
282
+ export declare function validatePhoneNumber(phone: string, countryCode?: string): boolean;
283
+
266
284
  export { }