UNPKG

radh-ui

Version:

Stencil Component Starter

20 lines (14 loc) 786 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-710e648a.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) { index.registerInstance(this, hostRef); } render() { return (index.h("div", { class: "flex-container" }, index.h("div", { class: "row" }, index.h("div", { class: "flex-item" }, index.h("slot", null))))); } } RadhLayoutCenter.style = radhLayoutCenterCss; exports.radh_layout_center = RadhLayoutCenter;