import {
  Component, h, render, useProp,
} from "atomico";
import style from "./kun-page.scss";
import { getComponentOrDefine } from "../../hooks/aync-hook/redirect";

const KunPage = () => (
  <host shadowDom>
    <style>{style}</style>
    <div class="page-container">
      <slot name="content" className="kun-page-content" />
    </div>
  </host>
);

export default getComponentOrDefine("kun-page", KunPage);
