UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

114 lines (110 loc) 1.28 kB
'use client'; 'use strict'; var filterProps = require('../../../utils/filter-props/filter-props.cjs'); require('react'); function extractStyleProps(others) { const { m, mx, my, mt, mb, ml, mr, p, px, py, pt, pb, pl, pr, 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, ...rest } = others; const styleProps = filterProps.filterProps({ m, mx, my, mt, mb, ml, mr, p, px, py, pt, pb, pl, pr, 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 }); return { styleProps, rest }; } exports.extractStyleProps = extractStyleProps; //# sourceMappingURL=extract-style-props.cjs.map