Евгения Акиншина 3 anni fa
parent
commit
3645c19850
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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>
         </>
     )