@jswork/filter-react-props
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

filter-react-props

Get filterd react props.

version license size download

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.

Readme

Keywords

Package Sidebar

Install

npm i @jswork/filter-react-props

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

4.44 kB

Total Files

5

Last publish

Collaborators

  • afeiship