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

16 lines
259 B
Markdown
Raw Normal View History

2024-04-17 13:55:11 +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
```