DEV Community

Ankit Kanojia
Ankit Kanojia

Posted on

Answer: ReactJs add class to this button

Here is the dynamic button binding with handled click event separately, Even added Axios API call so that in API response you can remove loading on that button as well.

Here is a working demo

const {
    Button
} = semanticUIReact


class App extends React.Component {

Top comments (0)