Skip to content

Commit 844daf3

Browse files
itsjgfTrancever
authored andcommitted
fix: replace 'orderRadius' with 'borderRadius' in Snackbar component (#750)
1 parent 8184d26 commit 844daf3

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/components/Snackbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class Snackbar extends React.Component<Props, State> {
196196
style={[
197197
styles.container,
198198
{
199-
orderRadius: roundness,
199+
borderRadius: roundness,
200200
opacity: this.state.opacity,
201201
transform: [
202202
{

src/components/__tests__/__snapshots__/Snackbar.test.js.snap

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ exports[`renders snackbar with Text as a child 1`] = `
2626
"justifyContent": "space-between",
2727
"margin": 8,
2828
"opacity": 1,
29-
"orderRadius": 4,
3029
"shadowColor": "#000000",
3130
"shadowOffset": Object {
3231
"height": 5,
@@ -98,7 +97,6 @@ exports[`renders snackbar with action button 1`] = `
9897
"justifyContent": "space-between",
9998
"margin": 8,
10099
"opacity": 1,
101-
"orderRadius": 4,
102100
"shadowColor": "#000000",
103101
"shadowOffset": Object {
104102
"height": 5,
@@ -251,7 +249,6 @@ exports[`renders snackbar with content 1`] = `
251249
"justifyContent": "space-between",
252250
"margin": 8,
253251
"opacity": 1,
254-
"orderRadius": 4,
255252
"shadowColor": "#000000",
256253
"shadowOffset": Object {
257254
"height": 5,

0 commit comments

Comments
 (0)