From 4e685a306c9765f5fd6b0b27f429cc50c163cff0 Mon Sep 17 00:00:00 2001 From: Christoffer Hasselberg Date: Mon, 2 Sep 2019 09:47:20 +0200 Subject: [PATCH] Added allowLeadingZeros to typings --- typings/number_format.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/number_format.d.ts b/typings/number_format.d.ts index 46fea63e..7f632b89 100755 --- a/typings/number_format.d.ts +++ b/typings/number_format.d.ts @@ -45,6 +45,7 @@ declare module "react-number-format" { customInput?: React.ComponentType; allowNegative?: boolean; allowEmptyFormatting?: boolean; + allowLeadingZeros?: boolean; onValueChange?: (values: NumberFormatValues) => void; /** * these are already included in React.HTMLAttributes