import { Component, h } from "atomico";
import style from "./kun-icon-search.css";
import { getComponentOrDefine } from "../../hooks/aync-hook/redirect";

const KunIconSearch = () => (
  <host shadowDom>
    <style>{style}</style>
    <div className="icon icon-search" />
  </host>
);

KunIconSearch.props = {
  message: {
    type: String,
    value: "kun-icon-search",
    reflect: true,
    event: {
      type: "changeMessage",
    },
  },
};

export default getComponentOrDefine("kun-icon-search", KunIconSearch);
