react-bounds
react-bounds copied to clipboard
Doesn't seem to work for child components using StoryBook
Hey,
I'm using React storybook to develop a component and test it with different parent container widths. On the initial load the child component gets the passed the top level bounds instead of it's immediate parents.
Could this just be because of the way storybook renders the component?
Thanks!