@styled-system/props
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/styled-system__props package

5.1.5 • Public • Published

@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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @styled-system/props

    Weekly Downloads

    31,592

    Version

    5.1.5

    License

    MIT

    Unpacked Size

    4.56 kB

    Total Files

    7

    Last publish

    Collaborators

    • jxnblk