Browse Source

first commit

Евгения Акиншина 3 years ago
parent
commit
3645c19850
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Count.tsx

+ 2 - 2
src/components/Count.tsx

@@ -17,8 +17,8 @@ const Count:React.FC  = () => {
         <>
             <ShowResult />
             <Fragment>
-            <button className='btn_click' value={ActionType.INCREMENT} onClick={(e) => handleClick(e)}>Increment</button>
-            <button className='btn_click' value={ActionType.DECREMENT} onClick={(e) => handleClick(e)}>Decrement</button>
+            <button className='btn_click' value={ActionType.INCREMENT} onClick={(e) => handleClick(e)}>+</button>
+            <button className='btn_click' value={ActionType.DECREMENT} onClick={(e) => handleClick(e)}>-</button>
             </Fragment>
         </>
     )