UNPKG

persian-number-input

Version:

React component for Persian, Indic, or English localized number input with customizable digit grouping

11 lines 399 B
export interface TransformNumberOptions { separatorCount?: number; separatorChar?: string; decimalChar?: string; suffix?: string; locale?: "fa" | "en" | "ar" | string; maxDecimals?: number; showZero?: boolean; } export declare const transformNumber: (rawValue: string | undefined, options?: TransformNumberOptions) => string; //# sourceMappingURL=transformNumber.d.ts.map