JSPM

  • Created
  • Published
  • Downloads 18239818
  • Score
    100M100P100Q255515F
  • 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/dist/is-prop-valid.browser.cjs.js
  • @emotion/is-prop-valid/dist/is-prop-valid.cjs.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@emotion/is-prop-valid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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