@rhizo/props

1.0.12 • Public • Published

@rhizo/props

Utilities for using Rhizo props

npm i @rhizo/props
import { pick, omit } from '@rhizo/props'

const attr = omit({
  id: 'keep-this',
  color: 'primary',
})
// { id: 'keep-this' }

const props = pick({
  className: 'hello',
  color: 'secondary',
})
// { color: 'secondary' }

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @rhizo/props

Weekly Downloads

0

Version

1.0.12

License

MIT

Unpacked Size

4.42 kB

Total Files

7

Last publish

Collaborators

  • chazeprasad