- Clone this repo
- Run
yarn install - Run
yarn start
The goal of this task is to add loading state to the button component while avoiding passing loading prop to each button.
The implementation should be made inside the Button component and should work for all button inside the app.
The project is configured with Bulma css framework, and you can use is-loading class name to add the loading state to the button
- You should not change
App.js - There should be no error log on console
- Feel free to install and use any library