Skip to content

nguyenduyhoang35/currency-fomatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published