currency-fomatter
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

currency-fomatter

import { CurrencyFormat } from "currency-fomatter"

export function Demo() {

	return (
			<CurrencyFormat />
	);
}

prop

type Props = {
	value?: any;
	format: any;
	decimalScale: number;
	decimalSeparator: string;
	thousandSpacing: "2" | "2s" | "3" | "4";
	thousandSeparator: string | boolean;
	mask: string | string[];
	allowNegative: boolean;
	prefix: string;
	suffix: string;
	removeFormatting: any;
	fixedDecimalScale: boolean;
	isNumericString: boolean;
	isAllowed: any;
	onValueChange: any;
	onChange: any;
	onKeyDown: any;
	onMouseUp: any;
	onFocus: any;
	onBlur: any;
	type: "text" | "tel";
	displayType: "input" | "text";
	customInput: any;
	renderText: any;
};

Package Sidebar

Install

npm i currency-fomatter

Weekly Downloads

4

Version

1.3.2

License

MIT

Unpacked Size

144 kB

Total Files

26

Last publish

Collaborators

  • hoangnguyen035