JSPM

  • Created
  • Published
  • Downloads 17593908
  • Score
    100M100P100Q255537F
  • License MIT

A function to check whether a prop is valid for HTML and SVG elements

Package Exports

  • @emotion/is-prop-valid
  • @emotion/is-prop-valid/package.json

Readme

@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