@emotion/is-prop-valid

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

Stats

StarsIssuesVersionUpdatedCreatedSize
@emotion/is-prop-valid
13,4281471.1.08 months ago4 years agoMinified + 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.