How to extend web component from html element to make attributes works

Hello, I’m new to web component and stancil, so please help

Can I extend a web component that build by stencil from HTML element?
for example I want to build a custom button, when I call this button from the JSX how can I make sure all normal attributes like, {type, disabled, etc} will work, or I must re-create everything and pass it as prop?

1 Like