|
@@ -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>
|
|
|
</>
|
|
|
)
|