Commit c4e2984 1 parent 3f4ce00 commit c4e2984 Copy full SHA for c4e2984
File tree 4 files changed +23
-13
lines changed
4 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 30
30
## Documentation
31
31
To check out the docs, visit https://glazzes.github.io/react-native-zoom-toolkit/
32
32
33
+ ## Support
34
+ If you have found good usage out of this library, consider supporting its development.
35
+ <p >
36
+ <a href =" https://paypal.me/centurionnightair " >
37
+ <img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" alt="paypal">
38
+ </a >
39
+ </p >
40
+
33
41
## Demo
34
42
The example app comes with five different examples from which you can learn from, see the [ Example app] ( ./example/ ) .
35
43
Original file line number Diff line number Diff line change 29
29
"favicon" : " ./assets/favicon.png" ,
30
30
"bundler" : " metro"
31
31
},
32
- "plugins" : [" expo-router" , " expo-video " ]
32
+ "plugins" : [" expo-router" ]
33
33
}
34
34
}
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import Appbar from './components/Appbar';
19
19
import TextArea from './components/TextArea' ;
20
20
import ImageMessage from './messages/ImageMessage' ;
21
21
import CellRenderer from './messages/CellRenderer' ;
22
- import VideoMessage from './messages/VideoMessage' ;
23
22
24
23
import { theme } from '../../constants' ;
25
24
@@ -81,16 +80,19 @@ const MessageList: React.FC<MessageListProps> = ({ keyboardTranslateY }) => {
81
80
[ activeIndex ]
82
81
) ;
83
82
84
- const renderItem = useCallback ( ( info : ListRenderItemInfo < string > ) => {
85
- return (
86
- < ImageMessage
87
- uri = { info . item }
88
- index = { info . index }
89
- activeIndex = { activeIndex }
90
- useResizeConfig = { info . index === 2 }
91
- />
92
- ) ;
93
- } , [ ] ) ;
83
+ const renderItem = useCallback (
84
+ ( info : ListRenderItemInfo < string > ) => {
85
+ return (
86
+ < ImageMessage
87
+ uri = { info . item }
88
+ index = { info . index }
89
+ activeIndex = { activeIndex }
90
+ useResizeConfig = { info . index === 2 }
91
+ />
92
+ ) ;
93
+ } ,
94
+ [ activeIndex ]
95
+ ) ;
94
96
95
97
return (
96
98
< FlatList
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-zoom-toolkit" ,
3
- "version" : " 3.1 .0" ,
3
+ "version" : " 4.0 .0" ,
4
4
"description" : " Most complete set of pinch to zoom utilites for React Native" ,
5
5
"main" : " lib/commonjs/index" ,
6
6
"module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments