1.0.2 • Published 3 years ago
@jswork/filter-react-props v1.0.2
filter-react-props
Get filterd react props.
installation
npm install @jswork/filter-react-props
usage
import filterReactProps from '@jswork/filter-react-props';
const props = { l: true, x: true, y: true, children: [], rel: true };
const list = ['rel', 'x', 'y'];
// result:
// { children: [] }
license
Code released under the MIT license.