[React-Native] The @emotion/native
does not seem to be compiled as a style object
#3154
Labels
@emotion/native
does not seem to be compiled as a style object
#3154
Current behavior:
This is my code:
This is the compilation result(in production):
To reproduce:
I installed and used the babel plugin according to the documentation:
module.exports = { presets: ['module:@react-native/babel-preset'], plugins: [ '@emotion', ], };
Expected behavior:
I expect the style string to be compiled into an RN style object.
Environment information:
react
version: 18.2.0@emotion/react
version: 11.11.3@emotion/native
version: 11.11.0@emotion/babel-plugin
version: 11.11.0react-native
version: 0.73.2The text was updated successfully, but these errors were encountered: