From 98b809420a19699d12514a8741404786553da7a8 Mon Sep 17 00:00:00 2001 From: paranoidjk Date: Tue, 12 Jun 2018 11:12:20 +0800 Subject: [PATCH] fix: ts doesn't support export from yet https://github.com/Microsoft/TypeScript/issues/9906 --- package.json | 2 +- src/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f59a083..17af0e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-swipeout", - "version": "2.0.7", + "version": "2.0.8", "description": "swipe out ui component for react(web and react-native)", "keywords": [ "react", diff --git a/src/index.tsx b/src/index.tsx index e196e39..052b741 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1 +1,3 @@ -export { default } from './Swipeout'; +import Swipeout from './Swipeout'; + +export default Swipeout;