diff --git a/packages/SwipeOut/index.d.ts b/packages/SwipeOut/index.d.ts index 6b0f59d..4cff35c 100644 --- a/packages/SwipeOut/index.d.ts +++ b/packages/SwipeOut/index.d.ts @@ -1,6 +1,6 @@ declare module '@rn-components-kit/swipe-out' { - import React from 'react'; + import * as React from 'react'; import {ViewStyle} from 'react-native'; interface Option { diff --git a/packages/SwipeOut/package.json b/packages/SwipeOut/package.json index b0cc753..8103a6c 100644 --- a/packages/SwipeOut/package.json +++ b/packages/SwipeOut/package.json @@ -1,6 +1,6 @@ { "name": "@rn-components-kit/swipe-out", - "version": "1.0.0", + "version": "1.0.1", "description": "iOS-style swipe-out buttons that appear from behind a component.", "main": "index.js", "types": "index.d.ts",