FrontPastel/node_modules/@emotion/is-prop-valid/README.md

259 B

@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