malsapp / react-native-photo-upload

Cross platform photo upload component for react native
MIT License
206 stars 88 forks source link

PhotoUpload's onRender property should be renamed onAfterRender #50

Open CarringtonCreative opened 6 years ago

CarringtonCreative commented 6 years ago

Hi there! I noticed that the property onRender is specified in PhotoUpload's propType object but it is never called. Moreover, inside of PhotoUpload's componentDidUpdate lifecycle hook I noticed that you are calling onAfterRender. Is it possible that these two function are the same? Any help will be appreciated. Thanks in advance. ☺️