0.1.0 • Published 4 years ago
@styled-system-ts/props v0.1.0
@styled-system-ts/props
Utilities for using Styled System props
npm i @styled-system-ts/props
import { pick, omit } from '@styled-system-ts/props'
const attr = omit({
id: 'keep-this',
color: 'primary',
})
// { id: 'keep-this' }
const props = pick({
className: 'hello',
color: 'secondary',
})
// { color: 'secondary' }
MIT License
0.1.0
4 years ago