UNPKG

@kwiz/fluentui

Version:
9 lines 587 B
import { jsx as _jsx } from "react/jsx-runtime"; import { isNumber } from '@kwiz/common'; import React from 'react'; import { Horizontal } from './horizontal'; import { Vertical } from './vertical'; export const Centered = React.forwardRef((props, ref) => { return (_jsx(Vertical, { main: true, vCentered: true, ref: ref, css: props.css, fullscreen: props.fullscreen, fullsize: props.fullsize, style: isNumber(props.zIndex) ? { zIndex: props.zIndex } : undefined, children: _jsx(Horizontal, { hCentered: true, children: props.children }) })); }); //# sourceMappingURL=centered.js.map