nextuiq
Version:
NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat
20 lines (19 loc) • 706 B
TypeScript
import { default as React } from 'react';
interface CountryCode {
code: string;
label: string;
}
export interface PhoneInputProps {
countries: CountryCode[];
placeholder?: string;
onChange?: (phoneNumber: string) => void;
selectPosition?: "start" | "end";
id?: string;
name?: string;
required?: boolean;
disabled?: boolean;
"aria-label"?: string;
"aria-describedby"?: string;
}
export declare const PhoneInput: React.MemoExoticComponent<({ countries, placeholder, onChange, selectPosition, id, name, required, disabled, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, }: PhoneInputProps) => import("react/jsx-runtime").JSX.Element>;
export {};