Components created using styled-components with Semantic UI React aren't retaining the SUIR component's props type information · Issue #49962 · DefinitelyTyped/DefinitelyTyped · GitHub
![javascript - Using onClick function on a styled-components button doesn't change state until the second click (added sandbox URL) - Stack Overflow javascript - Using onClick function on a styled-components button doesn't change state until the second click (added sandbox URL) - Stack Overflow](https://i.stack.imgur.com/VPAOe.png)
javascript - Using onClick function on a styled-components button doesn't change state until the second click (added sandbox URL) - Stack Overflow
![Create a customized switch button in React with hooks and styled-components | by Romullo Bernardo | Medium Create a customized switch button in React with hooks and styled-components | by Romullo Bernardo | Medium](https://miro.medium.com/v2/resize:fit:1400/1*TCY0SKFFvvf7jRDeOVSmNA.png)
Create a customized switch button in React with hooks and styled-components | by Romullo Bernardo | Medium
![reactjs - In styled-component, the button onClick event didn't working what I expected - Stack Overflow reactjs - In styled-component, the button onClick event didn't working what I expected - Stack Overflow](https://i.stack.imgur.com/DuOfe.png)