diff --git a/package.json b/package.json index 2174c27..4fb4f4c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-floating-label-input", "description": "A simple and customizable React Native TextInput with it's placeholder always shown.", - "version": "1.4.1", + "version": "1.4.2", "author": "Caio Nilton ", "main": "index.tsx", "private": false, diff --git a/src/index.tsx b/src/index.tsx index 2d65fc6..35d5b7a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -577,8 +577,8 @@ const FloatingLabelInput: React.ForwardRefRenderFunction = ( }); return ( - - + + {staticLabel && (