diff --git a/package-lock.json b/package-lock.json index 51306ca..b07f720 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-native-otp-entry", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-native-otp-entry", - "version": "1.2.0", + "version": "1.3.0", "license": "MIT", "devDependencies": { "@testing-library/jest-native": "^5.4.3", diff --git a/src/OtpInput/OtpInput.styles.ts b/src/OtpInput/OtpInput.styles.ts index b7aeabd..aa01b12 100644 --- a/src/OtpInput/OtpInput.styles.ts +++ b/src/OtpInput/OtpInput.styles.ts @@ -13,8 +13,8 @@ export const styles = StyleSheet.create({ borderWidth: 1, borderRadius: 12, borderColor: "#DFDFDE", - minHeight: 60, - minWidth: 44, + height: 60, + width: 44, justifyContent: "center", alignItems: "center", }, diff --git a/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap b/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap index c4afcc7..f17f2cf 100644 --- a/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap +++ b/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap @@ -60,9 +60,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, { @@ -136,9 +136,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, {}, @@ -195,9 +195,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, {}, @@ -254,9 +254,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, {}, @@ -313,9 +313,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, {}, @@ -372,9 +372,9 @@ exports[`OtpInput UI should render correctly 1`] = ` "borderColor": "#DFDFDE", "borderRadius": 12, "borderWidth": 1, + "height": 60, "justifyContent": "center", - "minHeight": 60, - "minWidth": 44, + "width": 44, }, undefined, {},