Skip to content

Commit

Permalink
duplicate property in CSS styles in JavaScript Object
Browse files Browse the repository at this point in the history
  • Loading branch information
momin-riyadh committed Oct 10, 2020
1 parent b5a795e commit 33f229b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
15 changes: 5 additions & 10 deletions 09_Day_Conditional_Rendering/09_conditional_rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// class based component
Expand Down Expand Up @@ -225,11 +224,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// class based component
Expand Down Expand Up @@ -325,11 +323,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// class based component
Expand Down Expand Up @@ -434,11 +431,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// class based component
Expand Down Expand Up @@ -663,11 +659,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// Footer Component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,10 @@ const buttonStyles = {
padding: 10,
border: 'none',
borderRadius: 5,
margin: 3,
margin: '3px auto',
cursor: 'pointer',
fontSize: 22,
color: 'white',
margin: '0 auto',
}

// Footer Component
Expand Down

0 comments on commit 33f229b

Please sign in to comment.