Skip to content

Commit

Permalink
Merge pull request #2706 from gluestack/main
Browse files Browse the repository at this point in the history
Backmerge Main -> Patch
  • Loading branch information
akash3gtm authored Jan 15, 2025
2 parents 8410776 + 2a936de commit 1d30cb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
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

0 comments on commit 1d30cb5

Please sign in to comment.