FrontPastel/node_modules/@emotion/is-prop-valid
NataliaCancinoV aa2823eee5 Primer commit 2024-04-17 07:55:11 -06:00
..
dist Primer commit 2024-04-17 07:55:11 -06:00
src Primer commit 2024-04-17 07:55:11 -06:00
types Primer commit 2024-04-17 07:55:11 -06:00
LICENSE Primer commit 2024-04-17 07:55:11 -06:00
README.md Primer commit 2024-04-17 07:55:11 -06:00
package.json Primer commit 2024-04-17 07:55:11 -06:00

README.md

@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