You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created a generic styled component, for example Icon. Then I'm passing a component as a prop to the styled component. In the styled component, I write a function that takes out the component prop (containing my component) and returns it. I expect it to use this component to apply the styled component to but instead it does not apply anything.
Steps to reproduce
Create a styled component that takes a prop containing a component and return it.
Issue details
Created a generic styled component, for example Icon. Then I'm passing a component as a prop to the styled component. In the styled component, I write a function that takes out the component prop (containing my component) and returns it. I expect it to use this component to apply the styled component to but instead it does not apply anything.
Steps to reproduce
Please specify which version of Storybook and optionally any affected addons that you're running
@storybook/react ^3.2.18
@storybook/addon-actions ^3.2.18
@storybook/addon-knobs ^3.2.18
@storybook/addon-links ^3.2.18
@storybook/addons ^3.2.18
Affected platforms
Not relevant.
Screenshots / Screencast / Code Snippets (Optional)
The text was updated successfully, but these errors were encountered: