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

Responsive Image Code #445

Open
KrishT0 opened this issue Jan 10, 2024 · 2 comments
Open

Responsive Image Code #445

KrishT0 opened this issue Jan 10, 2024 · 2 comments

Comments

@KrishT0
Copy link

KrishT0 commented Jan 10, 2024

I was going through the official document and examples but was unable to find the code for Responsive Image. I am trying to implement it, but unable to do so. can you provide the code for the responsive image example or can you publish a sandbox/normal code in the website for example.

image

when I click for code, it only shows this piece of code, which is the same for all images and it doesn't make sense. please try to provide a code for it.

image

@stevebrowndotco
Copy link

I also looked for it recently. The code is acutally written as a decorator for the story file, you can find it here:

https://github.com/BetterTyped/react-zoom-pan-pinch/blob/master/src/stories/examples/image-responsive/example.tsx

@martin-linden
Copy link

Locating this information proved to be unnecessarily challenging. It's unclear why the code snippets for all Storybook examples aren't more accessible. Discovering that one needs to navigate through numerous folders to find the example codes was not apparent. Making these resources more readily available would undoubtedly benefit many users.

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

3 participants