c
: Function that transforms the functional component into a standard customElement.html
: Function to declare the template of our component, you can also use JSX.css
: Function that allows creating the CSSStyleSheet (CSS) for our component as long as it declares the shadowDom.message
and this can only receive values of the String
type.styles
property:c
function will generate as a return a customElement that can be defined or extended.