import { Props, c } from "atomico"; // 2.5kB

function component({ name }:Props<component.props>) {
  return <host shadowDom>Hello, {name}</host>;
}

component.props = {
  name: String,
};

customElements.define("my-component", c(component));