From 537abaf9ba6f2d0085b61607d4a0005a269147b3 Mon Sep 17 00:00:00 2001 From: FreakyCoder Date: Thu, 9 Mar 2023 22:45:14 +0300 Subject: [PATCH] feat: TooltipProps and TooltipChildrenContext are exportable --- lib/index.ts | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 9d2090a..71ef863 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,4 +1,5 @@ -export { default } from "./Tooltip"; +export { default, TooltipChildrenContext } from "./Tooltip"; +export type { TooltipProps } from "./Tooltip"; export { Placement } from "./Tooltip.type"; export type { diff --git a/package.json b/package.json index 7134022..7e4de7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-tooltip-2", - "version": "0.1.1", + "version": "0.1.2", "description": "Customizable, easy to use tooltip for React Native", "main": "./build/dist/index.js", "repository": "git@github.com:WrathChaos/react-native-tooltip-2.git",