Open AndrewPixel opened 3 years ago
@AndrewPixel
Use React.createElement from render second arg
Here's demo: https://codepen.io/daybrush/pen/JjXmbmb
I guess my initial post was ambiguous. Just to be clear, I want to create custom buttons without using React. I want to create custom buttons using vanilla javascript.
Environments
Description
Is there an example of creating a custom button using vanilla javascript? I've not used React so I'm at a loss as to how to code one.