diff --git a/package-lock.json b/package-lock.json index 8721d3d..f1e3eb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-rating-element", - "version": "5.1.5", + "version": "5.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4598344..caf8744 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-rating-element", - "version": "5.1.5", + "version": "5.3.0", "description": "A simple rating library for react native supporting decimal point and custom icon set", "main": "index.js", "scripts": { diff --git a/src/Rating/components/IconBar.js b/src/Rating/components/IconBar.js index 8c626e8..0b14b19 100644 --- a/src/Rating/components/IconBar.js +++ b/src/Rating/components/IconBar.js @@ -27,6 +27,7 @@ const IconBar = ({ filled = false, }) => ( { if (!readonly) { onIconTap(position + 1); @@ -40,12 +41,7 @@ const IconBar = ({ size={size} /> ) : ( - + )} );