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

16 lines
259 B
Markdown
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
# @emotion/is-prop-valid
> Check whether a prop is valid for HTML and SVG elements
```bash
yarn add @emotion/is-prop-valid
```
```jsx
import isPropValid from '@emotion/is-prop-valid'
isPropValid('href') // true
isPropValid('someRandomProp') // false
```