From 06ee677bcca60d5a2fae8b6641990cebe72e85cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Me=CC=81de=CC=81de=CC=81=20Raymond=20KPATCHAA?= Date: Thu, 23 Apr 2026 21:55:48 +0100 Subject: [PATCH 1/2] fix: update IconProps style type to exclude cursor from TextStyle --- src/lib/index.tsx | 2 +- tsconfig.json | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/index.tsx b/src/lib/index.tsx index f3aa238f..35e436fd 100644 --- a/src/lib/index.tsx +++ b/src/lib/index.tsx @@ -15,7 +15,7 @@ export interface IconProps { duotoneOpacity?: number; mirrored?: boolean; size?: string | number; - style?: StyleProp; + style?: StyleProp>; testID?: string; title?: string; // SVGRProps titleId?: string; // SVGRProps diff --git a/tsconfig.json b/tsconfig.json index 00ce259c..53fd3050 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "baseUrl": "./", "paths": { "phosphor-react-native": [ "./src/index" @@ -26,5 +25,10 @@ "skipLibCheck": true, "strict": true, "target": "esnext" - } -} \ No newline at end of file + }, + "exclude": [ + "bundle-bench", + "example", + "core" + ] +} From 2257630f4af65b9477e06933542420d52804a99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Me=CC=81de=CC=81de=CC=81=20Raymond=20KPATCHAA?= Date: Thu, 23 Apr 2026 22:03:23 +0100 Subject: [PATCH 2/2] chore: release 3.0.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 460c2402..697c80cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phosphor-react-native", - "version": "3.0.5", + "version": "3.0.6", "description": "Flexible icons for React Native", "sideEffects": false, "main": "lib/commonjs/index.js",