UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

128 lines (124 loc) 1.43 kB
'use client'; 'use strict'; var filterProps = require('../../../utils/filter-props/filter-props.cjs'); require('react'); require('react/jsx-runtime'); require('@mantine/hooks'); function extractStyleProps(others) { const { m, mx, my, mt, mb, ml, mr, me, ms, p, px, py, pt, pb, pl, pr, 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, hiddenFrom, visibleFrom, lightHidden, darkHidden, sx, ...rest } = others; const styleProps = filterProps.filterProps({ m, mx, my, mt, mb, ml, mr, me, ms, p, px, py, pt, pb, pl, pr, 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, hiddenFrom, visibleFrom, lightHidden, darkHidden, sx }); return { styleProps, rest }; } exports.extractStyleProps = extractStyleProps; //# sourceMappingURL=extract-style-props.cjs.map