@anoki/fse-ui
Version:
FSE UI components library
14 lines (13 loc) • 1.14 kB
JavaScript
import N from "./index.es541.js";
import { getResponsiveStyles as e } from "./index.es556.js";
import { mergeStyles as V } from "./index.es558.js";
import { marginPropDefs as y } from "./index.es546.js";
const m = y.m.values;
function R(r) {
const [t, a] = e({ className: "rt-r-m", customProperties: ["--margin"], propValues: m, value: r.m }), [o, s] = e({ className: "rt-r-mx", customProperties: ["--margin-left", "--margin-right"], propValues: m, value: r.mx }), [l, p] = e({ className: "rt-r-my", customProperties: ["--margin-top", "--margin-bottom"], propValues: m, value: r.my }), [i, u] = e({ className: "rt-r-mt", customProperties: ["--margin-top"], propValues: m, value: r.mt }), [c, n] = e({ className: "rt-r-mr", customProperties: ["--margin-right"], propValues: m, value: r.mr }), [g, v] = e({ className: "rt-r-mb", customProperties: ["--margin-bottom"], propValues: m, value: r.mb }), [P, f] = e({ className: "rt-r-ml", customProperties: ["--margin-left"], propValues: m, value: r.ml });
return [N(t, o, l, i, c, g, P), V(a, s, p, u, n, v, f)];
}
export {
R as getMarginStyles
};
//# sourceMappingURL=index.es555.js.map