Skip to content

Commit

Permalink
Merge pull request #29 from sabuhiteymurov/fix/style-override-in-code…
Browse files Browse the repository at this point in the history
…-container

fix: code-container default style overrides
  • Loading branch information
anday013 authored Dec 15, 2023
2 parents 582de9c + be23f77 commit e467112
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/OtpInput/OtpInput.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
24 changes: 12 additions & 12 deletions src/OtpInput/__snapshots__/OtpInput.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down Expand Up @@ -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,
{},
Expand Down Expand Up @@ -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,
{},
Expand Down Expand Up @@ -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,
{},
Expand Down Expand Up @@ -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,
{},
Expand Down Expand Up @@ -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,
{},
Expand Down

0 comments on commit e467112

Please sign in to comment.