import { h, c } from "atomico";
import style from "./kun-feed-item.scss";

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

KunFeedItem.props = {
  message: {
    type: String,
    value: "kun-feed-item",
    reflect: true,
    event: {
      type: "changeMessage",
    },
  },
};

export default getComponentOrDefine("kun-feed-item", KunFeedItem);
