File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ const Home = props => (
1515 < p > Count: { props . count } </ p >
1616
1717 < p >
18- < button onClick = { props . increment } > Increment</ button >
18+ < button onClick = { props . increment } disabled = { props . isIncrementing } > Increment</ button >
1919 < button onClick = { props . incrementAsync } disabled = { props . isIncrementing } > Increment Async</ button >
2020 </ p >
2121
2222 < p >
23- < button onClick = { props . decrement } > Decrementing</ button >
23+ < button onClick = { props . decrement } disabled = { props . isDecrementing } > Decrementing</ button >
2424 < button onClick = { props . decrementAsync } disabled = { props . isDecrementing } > Decrement Async</ button >
2525 </ p >
2626
Original file line number Diff line number Diff line change 99 font-size : 1rem ;
1010 line-height : 1.5 ;
1111}
12+
13+ button : disabled {
14+ opacity : 0.5 ;
15+ }
You can’t perform that action at this time.
0 commit comments