diff --git a/README.md b/README.md index cc76eda..9eb53b8 100644 --- a/README.md +++ b/README.md @@ -256,7 +256,16 @@ module.exports = { ], babelPresets: ['nativewind/babel'], babelPresetReactOptions: { jsxImportSource: 'nativewind' }, - babelPlugins: ['react-native-reanimated/plugin'], + babelPlugins: [ + 'react-native-reanimated/plugin', + [ + '@babel/plugin-transform-react-jsx', + { + runtime: 'automatic', + importSource: 'nativewind', + }, + ], + ], }, }, ],