UNPKG

ideaz-element

Version:

<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>

18 lines (17 loc) 522 B
import { useNamespace as u } from "../../../../hooks/useNamespace.mjs"; import { ref as o, computed as n } from "vue"; function g(t) { const i = u("row", o("el")), r = n(() => { const e = {}; return t.gutter && (e.marginRight = e.marginLeft = `-${t.gutter / 2}px`), e; }), s = n(() => [ i.b(), i.is(`justify-${t.justify}`, t.justify !== "start"), i.is(`align-${t.align}`, t.align !== "top") ]); return { rowStyle: r, rowKls: s }; } export { g as useRow }; //# sourceMappingURL=useRow.mjs.map