import { Component, h } from "atomico";
import { getComponentOrDefine } from "../../hooks/aync-hook/redirect";

const MyTag: Component = (props) => (
  <host shadowDom>
    <h1>
      Hi! $
      {props.value}
    </h1>
  </host>
);

MyTag.props = {
  value: { type: String, value: "Atomico" },
};

export default getComponentOrDefine("kun-vote", MyTag);
