File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Ionic React Photo Viewer
2
2
3
- ## [ DEMO] ( https://codesyntax.github.io/ionic-react-photo-viewer/?path=/story/example-ionphotoviewer--ion-avatar-item-example )
3
+ ##### Table of Contents
4
+
5
+ * [ Demo] ( #demo )
6
+ * [ Features] ( #features )
7
+ * [ Installation] ( #installation )
8
+ * [ Use example] ( #example )
9
+ * [ Props] ( #props )
10
+
11
+
12
+ <a name =" demo " />
13
+
14
+ ## [ Demo] ( https://codesyntax.github.io/ionic-react-photo-viewer/?path=/story/example-ionphotoviewer--ion-avatar-item-example )
4
15
A react component for displaying images adapted to Ionic design.
5
16
6
- The features:
17
+ <a name =" features " />
18
+
19
+ ## Features:
7
20
8
21
* Pinch-to-zoom capability.
9
22
* IonAvatar and IonThumbnail support.
10
23
* Blurred background support ([ Available for Chrome and Safari] ( https://caniuse.com/css-backdrop-filter ) ).
11
24
* IonHeader integration to adapt it to the native design.
12
25
13
- ![ IonPhotoViewer demo] ( ./docs/ion-photo-viewer-demo.gif )
14
26
27
+ https://user-images.githubusercontent.com/26112509/168749351-b7446907-458f-424f-86c9-c5ef639353d2.mov
28
+
29
+ https://user-images.githubusercontent.com/26112509/168749387-d7bb7b4a-f968-4e63-aaa2-876527ee6a58.mov
30
+
31
+
32
+ <a name =" installation " />
15
33
16
34
## Installation
17
35
``` bash
18
36
npm install --save @codesyntax/ionic-react-photo-viewer
19
37
```
20
38
39
+ <a name =" example " />
40
+
21
41
## Use example
22
42
``` tsx
23
43
// import component
@@ -40,6 +60,7 @@ import IonPhotoViewer from '@codesyntax/ionic-react-photo-viewer';
40
60
<IonLabel >Martin arrantzalea</IonLabel >
41
61
</IonItem >
42
62
```
63
+ <a name =" props " />
43
64
44
65
## Props
45
66
* title: string
@@ -49,4 +70,4 @@ import IonPhotoViewer from '@codesyntax/ionic-react-photo-viewer';
49
70
* licenseKey: string
50
71
* The license key of lightgallery.
51
72
* children: React.ReactNode
52
- * Img element.
73
+ * Img element.
You can’t perform that action at this time.
0 commit comments