16 lines
259 B
Markdown
16 lines
259 B
Markdown
|
# @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
|
||
|
```
|