diff --git a/packages/Slider/index.d.ts b/packages/Slider/index.d.ts index 72f4893..0dd584b 100644 --- a/packages/Slider/index.d.ts +++ b/packages/Slider/index.d.ts @@ -1,6 +1,6 @@ declare module '@rn-components-kit/slider' { - import React from 'react'; + import * as React from 'react'; import {ViewStyle, TextStyle} from 'react-native' interface Props { diff --git a/packages/Slider/package.json b/packages/Slider/package.json index bbbfa11..18f1da0 100644 --- a/packages/Slider/package.json +++ b/packages/Slider/package.json @@ -1,6 +1,6 @@ { "name": "@rn-components-kit/slider", - "version": "1.0.1", + "version": "1.0.2", "description": "Slider allows users to select a value from a fixed set of options.", "main": "index.js", "types": "index.d.ts",