From fbb1befe1c44f6639ca0c6753dba0c7768b56af0 Mon Sep 17 00:00:00 2001 From: hamidreza kazemi Date: Sat, 22 Jun 2019 16:28:50 +0430 Subject: [PATCH] Added type definitions for react-ladda --- react-ladda/react-ladda.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 react-ladda/react-ladda.d.ts diff --git a/react-ladda/react-ladda.d.ts b/react-ladda/react-ladda.d.ts new file mode 100644 index 0000000..8ad95ca --- /dev/null +++ b/react-ladda/react-ladda.d.ts @@ -0,0 +1,14 @@ +// Type definitions for react-ladda v6.0.0 +// Project: https://github.com/jsdir/react-ladda +// Definitions by: Hamidreza Kazemi +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare module "react-ladda" { + + import LaddaButton from './LaddaButton' + + export default LaddaButton + export * from './constants' +} \ No newline at end of file