Open val089 opened 1 year ago
Hey @val089 👋
@storybook/addon-styling
is deprecated in favour of @storybook/addon-themes
for the functionality that you're looking for. However, was never intended for react-native storybook.
I would need some help from @dannyhw to look at a solution that could work for you.
A simple solution is probably to just add a custom decorator with the theme provider and this wouldn't require the styling addon.
I am down to help get addon-themes working for react native web though if its not currently working.
Describe the bug
Hi,
I tried to integrate styled-components with storybook in React Native Expo App. I upgraded my storybook to version 7.4.0 and use plugin @storybook/addon-styling (https://storybook.js.org/recipes/styled-components), but this solution it's not working.
This my part of code:
preview.ts file
storybook.requires.ts file
main.ts file
and webpack.config.js file
Anybody knows the solution how to integrate styled-components with storybook?
To Reproduce
No response
System
Additional context
No response