My custom component has a custom attribute "style" where I pass the classes for the underlying actual html <button> element inside. As you see the "style" values are rendered differently, even an error is reported, but they actually work fine. 