5.3.3 • Published 3 years ago
@class101/styled-system__props v5.3.3
@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