BuopsoTaskOne

Create following components

  1. Button
  2. Label

Use above created components to Create a view which should have

  • A label - 'Counter - 0' - (0 should be replaced with actual count without quote ' .)
  • Two buttons - 'Increment' & 'Decrement'
  • Counter should initialize to 0
  • On Increment button click counter should increase by 2 and on Decrement button click counter should decrease by 1 .
  • on Increment button click Decrement button should not re-render and on Decrement button click Increment button should not re-render.