Skip to content
Branch: master
Find file History
Latest commit 94fcf69 Sep 16, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src Add props utilities Sep 16, 2019
test Add props utilities Sep 16, 2019
README.md Add props utilities Sep 16, 2019
package.json v5.1.3 Sep 16, 2019

README.md

@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

You can’t perform that action at this time.