UNPKG

radh-ui

Version:

Stencil Component Starter

16 lines (12 loc) 699 B
import { r as registerInstance, h } from './index-a9700b09.js'; const radhLayoutCenterCss = "html,body{height:100%}body{margin:0}.flex-container{height:100%;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.row{width:auto}.flex-item{text-align:center}"; class RadhLayoutCenter { constructor(hostRef) { registerInstance(this, hostRef); } render() { return (h("div", { class: "flex-container" }, h("div", { class: "row" }, h("div", { class: "flex-item" }, h("slot", null))))); } } RadhLayoutCenter.style = radhLayoutCenterCss; export { RadhLayoutCenter as radh_layout_center };