Have ideas to improve npm?Join in the discussion! »

@emotion/is-prop-validTypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@emotion/is-prop-valid

Check whether a prop is valid for HTML and SVG elements

yarn add @emotion/is-prop-valid
import isPropValid from '@emotion/is-prop-valid'
 
isPropValid('href') // true
 
isPropValid('someRandomProp') // false

Keywords

none

Install

npm i @emotion/is-prop-valid

DownloadsWeekly Downloads

3,367,666

Version

1.0.0

License

MIT

Unpacked Size

40.3 kB

Total Files

14

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar