From 8c300c104b00dcf34c59cb8263ce49bfeb2f82e5 Mon Sep 17 00:00:00 2001 From: Mohamed Fouad Sagha Date: Sun, 21 Dec 2025 22:18:26 +0100 Subject: [PATCH] Fixing Issue with text classes from TW 5 When using Variants with text-centre, text-left, or text-right, we have a Bug as it shows here https://github.com/nativewind/react-native-css/issues/232 --- src/components/TextInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TextInput.tsx b/src/components/TextInput.tsx index fb58a966..d49b10ab 100644 --- a/src/components/TextInput.tsx +++ b/src/components/TextInput.tsx @@ -12,7 +12,7 @@ const mapping: StyledConfiguration = { className: { target: "style", nativeStyleMapping: { - textAlign: true, + textAlign: "textAlign", }, }, };