@emotion/is-prop-valid

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

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@emotion/is-prop-valid
Minified + gzip package size for @emotion/is-prop-valid in KB

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.