Releases: testshallpass/react-native-dropdownalert
Releases · testshallpass/react-native-dropdownalert
3.7.1
- Update style props for React 16.6.x compatibility. Thanks @Piropa
- Pass state to render title and message function props. Thanks @sahanatroam
3.7.0
3.6.0
3.5.0
Change references to ViewProptypes or .proptypes.style to objects.
3.4.1
3.4.0
- [Feature request] Custom image sources per alert type #120 Thanks @lucianomlima
3.3.1
- Add useNativeDriver prop. Thanks @lucianomlima
3.3.0
- StatusBar._defaultProps if not defined fallback to
default
andblack
#113 Thanks @raarts - Added render props to further customize components. Example usage:
//...
import Icon from 'react-native-vector-icons/FontAwesome';
//....
renderImage(props) {
// DropdownAlert props are passed down
return (
<Icon name="rocket" size={30} color="#900" />
);
}
//...
render() {
<DropdownAlert
ref={ref => this.dropdown = ref}
renderImage={(props) => this.renderImage(props)}
/>
}
//....