@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
13 lines (12 loc) • 573 B
TypeScript
import { ICountry } from './country_data';
interface UseFormattedNumberProps {
autoFormat?: boolean;
disableCountryCode?: boolean;
enableLongNumbers?: boolean;
innerValue: string;
selectedCountryDialCode: string;
selectedCountryFormat?: string;
lastSelectedCountry: React.MutableRefObject<ICountry>;
}
declare const useFormattedNumber: ({ autoFormat, disableCountryCode, enableLongNumbers, innerValue, selectedCountryDialCode, selectedCountryFormat, lastSelectedCountry, }: UseFormattedNumberProps) => string;
export default useFormattedNumber;