@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
74 lines (73 loc) • 1.24 kB
JavaScript
"use client";
const require_filter_props = require("../../../utils/filter-props/filter-props.cjs");
//#region packages/@mantine/core/src/core/Box/style-props/extract-style-props/extract-style-props.ts
function extractStyleProps(others) {
const { m, mx, my, mt, mb, ml, mr, me, ms, mis, mie, p, px, py, pt, pb, pl, pr, pe, ps, pis, pie, bd, bdrs, bg, c, opacity, ff, fz, fw, lts, ta, lh, fs, tt, td, w, miw, maw, h, mih, mah, bgsz, bgp, bgr, bga, pos, top, left, bottom, right, inset, display, flex, hiddenFrom, visibleFrom, lightHidden, darkHidden, sx, ...rest } = others;
return {
styleProps: require_filter_props.filterProps({
m,
mx,
my,
mt,
mb,
ml,
mr,
me,
ms,
mis,
mie,
p,
px,
py,
pt,
pb,
pl,
pr,
pis,
pie,
pe,
ps,
bd,
bg,
c,
opacity,
ff,
fz,
fw,
lts,
ta,
lh,
fs,
tt,
td,
w,
miw,
maw,
h,
mih,
mah,
bgsz,
bgp,
bgr,
bga,
pos,
top,
left,
bottom,
right,
inset,
display,
flex,
bdrs,
hiddenFrom,
visibleFrom,
lightHidden,
darkHidden,
sx
}),
rest
};
}
//#endregion
exports.extractStyleProps = extractStyleProps;
//# sourceMappingURL=extract-style-props.cjs.map