From de9a1abd41fa3671c607d68c31a1d6310eb86abe Mon Sep 17 00:00:00 2001 From: Nikolay <72027018+NikolayBaranovv@users.noreply.github.com> Date: Wed, 18 Aug 2021 09:54:29 +0300 Subject: [PATCH] fix allow synthetic default import --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 8b711ff..892090d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,5 @@ -import React, {ChangeEvent, CSSProperties, ReactElement} from 'react'; +import * as React from 'react'; +import {ChangeEvent, CSSProperties, ReactElement} from 'react'; const DEFAULT_COLON = ':'; const DEFAULT_VALUE_SHORT = `00${DEFAULT_COLON}00`;