aboutsummaryrefslogtreecommitdiff
path: root/src/features/counter/Counter.jsx
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 18:33:41 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 18:33:41 -0600
commit22b15f833d388d2fed12b7f4dcd917c57712cbec (patch)
tree24b7047e5e4f8193dd42fd7fed6c70e4e2dd0cec /src/features/counter/Counter.jsx
parentf929e5156cb1941beb2f5329e7b9b8fae4c7691b (diff)
downloadToDo-App-FE-22b15f833d388d2fed12b7f4dcd917c57712cbec.tar.gz
ToDo-App-FE-22b15f833d388d2fed12b7f4dcd917c57712cbec.zip
Added bootstrap library.
We now have better looking assets!
Diffstat (limited to '')
-rw-r--r--src/features/counter/Counter.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/counter/Counter.jsx b/src/features/counter/Counter.jsx
index d589bf9..b8453b2 100644
--- a/src/features/counter/Counter.jsx
+++ b/src/features/counter/Counter.jsx
@@ -8,17 +8,19 @@ export function Counter() {
return (
<div>
+ <h1>{count}</h1>
<div>
<button
aria-label="Increment value"
onClick={() => dispatch(increment())}
+ className='btn btn-outline-primary'
>
Increment
</button>
- <span>{count}</span>
<button
aria-label="Decrement value"
onClick={() => dispatch(decrement())}
+ className='btn btn-outline-primary'
>
Decrement
</button>