From 03111d1448f700404b2bb8867640982b4dc327bc Mon Sep 17 00:00:00 2001 From: Farhoud Shapouran Date: Tue, 18 Feb 2025 14:46:55 +0300 Subject: [PATCH 1/2] fix: resolve 'React is not defined' error --- src/components/header/time-button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/header/time-button.tsx b/src/components/header/time-button.tsx index 891e543..9531123 100644 --- a/src/components/header/time-button.tsx +++ b/src/components/header/time-button.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import dayjs from 'dayjs'; import { useMemo } from 'react'; import { Pressable, Text, View } from 'react-native'; From f48e16c832e1732d74cb7c504d6bf37d156f5022 Mon Sep 17 00:00:00 2001 From: Farhoud Shapouran Date: Tue, 18 Feb 2025 14:47:27 +0300 Subject: [PATCH 2/2] chore: bump version to 3.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fc9273b..12eb747 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-ui-datepicker", - "version": "3.0.1", + "version": "3.0.2", "description": "Customizable date picker for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",