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

Backmerge Main -> Patch #2706

Merged
merged 6 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,13 @@ The `ImageViewerBackdrop` component serves as the background layer of the `Image

The `ImageViewerImage` component is used to display individual images within the `ImageViewerContent`. It supports all the properties of React Native's [Image](https://reactnative.dev/docs/image) component, making it easy to customize the appearance and behavior of the images.

### Example
### Examples

The Example section offers visual previews of the component, letting you quickly identify the best fit for your needs. Just copy the code and use it in your project.
The Examples section offers visual previews of the component, letting you quickly identify the best fit for your needs. Just copy the code and use it in your project.

#### Basic ImageViewer

Basic ImageViewer component is created using ImageViewer component from gluestack-ui. It extends all the props supported by [React Native Image](https://reactnative.dev/docs/image) component.

```jsx
import { ImageViewer, ImageViewerBackdrop, ImageViewerContent, ImageViewerCloseButton, ImageViewerImage } from '@/components/ui/image-viewer';
Expand Down
8 changes: 7 additions & 1 deletion packages/unstyled/image-viewer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# @gluestack-ui/image-viewer

## 0.0.10

### Patch Changes

- fix: updated translateY breakpoint value for onClose

## 0.0.9

### Patch Changes

- fix: changed translateY breakpoint for onClose
- fix: closebuttonicon bg on hover and updated example

## 0.0.8

Expand Down
2 changes: 1 addition & 1 deletion packages/unstyled/image-viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gluestack-ui/image-viewer",
"version": "0.0.9",
"version": "0.0.10",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
Expand Down
Loading