@styled-system/props
v5.1.5
Published
Utilities for using Styled System props
Downloads
165,825
Readme
@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