import { h } from "atomico";
import style from "./kun-input-link.scss";
import { getComponentOrDefine } from "../../hooks/aync-hook/redirect";

const KunInputLink = ({ message }): Comment => (
  <host shadowDom>
    <style>{style}</style>
    <h1>
      {" "}
      {message}
    </h1>
  </host>
);

KunInputLink.props = {
  message: {
    type: String,
    value: "kun-input-link",
    reflect: true,
    event: {
      type: "changeMessage",
    },
  },
};

export default getComponentOrDefine("kun-input-link", KunInputLink);
