duplicate property in CSS styles in JavaScript Object

pull/53/head
momin-riyadh 4 years ago
parent b5a795e698
commit 33f229be56

@ -119,11 +119,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// class based component // class based component
@ -225,11 +224,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// class based component // class based component
@ -325,11 +323,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// class based component // class based component
@ -434,11 +431,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// class based component // class based component
@ -663,11 +659,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// Footer Component // Footer Component

@ -127,11 +127,10 @@ const buttonStyles = {
padding: 10, padding: 10,
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
margin: 3, margin: '3px auto',
cursor: 'pointer', cursor: 'pointer',
fontSize: 22, fontSize: 22,
color: 'white', color: 'white',
margin: '0 auto',
} }
// Footer Component // Footer Component

Loading…
Cancel
Save