20 lines
418 B
Markdown
20 lines
418 B
Markdown
|
# @babel/plugin-transform-react-jsx-source
|
||
|
|
||
|
> Add a __source prop to all JSX Elements
|
||
|
|
||
|
See our website [@babel/plugin-transform-react-jsx-source](https://babeljs.io/docs/en/babel-plugin-transform-react-jsx-source) for more information.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
Using npm:
|
||
|
|
||
|
```sh
|
||
|
npm install --save-dev @babel/plugin-transform-react-jsx-source
|
||
|
```
|
||
|
|
||
|
or using yarn:
|
||
|
|
||
|
```sh
|
||
|
yarn add @babel/plugin-transform-react-jsx-source --dev
|
||
|
```
|