@class101/styled-system__props
v5.3.3
Published
Utilities for using Styled System props
Downloads
4
Keywords
Readme
@class101/styled-system__props
Utilities for using Styled System props
npm i @class101/styled-system__props
import { pick, omit } from '@class101/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