Skip to content

Commit 223e0f8

Browse files
committed
Update usage.
1 parent f0b6dcc commit 223e0f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ npm install --save-dev babel-plugin-typescript-to-proptypes
110110
## Usage
111111

112112
Add the plugin to your Babel config. It's preferred to enable this plugin for development only, or
113-
when building a library.
113+
when building a library. Requires either the `@babel/plugin-syntax-jsx` plugin or the
114+
`@babel/preset-react` preset.
114115

115116
```tsx
116117
// babel.config.js

0 commit comments

Comments
 (0)