DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.