Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook Code available? #135

Open
utoppo opened this issue Sep 3, 2020 · 3 comments
Open

Storybook Code available? #135

utoppo opened this issue Sep 3, 2020 · 3 comments

Comments

@utoppo
Copy link

utoppo commented Sep 3, 2020

Is your feature request related to a problem? Please describe.
I could not find the source code of the storybook components. Is it available anywhere?

Describe the solution you'd like
I would like to have access to the storybook examples code, to be able to get a better understanding of how to use the component.

Describe alternatives you've considered
Have the example code embedded on storybook page itself

@ganderzz
Copy link
Owner

Hey @utoppo, sorry for the slow response!

Currently the code for Storybook got removed a few versions ago, and the source code doesn't work with the current api. Once 3.0 is released this will hopefully be re-added! I really like the idea of embedding the code directly into the storybook examples!

@utoppo
Copy link
Author

utoppo commented Oct 5, 2020

Hey @ganderzz, sounds great! I’m looking forward to version 3.0.

I managed to implement my scrolling behaviour with ScrollToHOC of the current release, see: https://codesandbox.io/s/winter-darkness-0ufzf?file=/src/components/ScrollContainer/index.js. Thanks for the component. It works perfectly!

@ganderzz
Copy link
Owner

@utoppo This looks great! It's really cool to see how people are using this library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants