@styled-system/props
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/styled-system__props package

5.1.5 • Public • Published

@styled-system/props

Utilities for using Styled System props

npm i @styled-system/props
import { pick, omit } from '@styled-system/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 @styled-system/props

Weekly Downloads

32,085

Version

5.1.5

License

MIT

Unpacked Size

4.56 kB

Total Files

7

Last publish

Collaborators

  • jxnblk