react-native-dropdownalert

An alert to notify users about an error or something else

MIT License

Downloads
44.8K
Stars
1.8K
Committers
31

Bot releases are visible (Hide)

react-native-dropdownalert -

Published by testshallpass almost 6 years ago

  • Update style props for React 16.6.x compatibility. Thanks @Piropa
  • Pass state to render title and message function props. Thanks @sahanatroam
react-native-dropdownalert -

Published by testshallpass about 6 years ago

  • Fix replaceEnabled not working #94
  • Fix status bar delay change #133
  • Add Caveats to README #73
  • Revise usage example in README
react-native-dropdownalert -

Published by testshallpass about 6 years ago

  • Allow overrides of the wrapperStyle Thanks @EyMaddis
react-native-dropdownalert -

Published by testshallpass over 6 years ago

Change references to ViewProptypes or .proptypes.style to objects.

react-native-dropdownalert -

Published by testshallpass over 6 years ago

^ Fix runtime issue with proptypes #125 Thanks @EyMaddis

react-native-dropdownalert -

Published by testshallpass over 6 years ago

  • [Feature request] Custom image sources per alert type #120 Thanks @lucianomlima
react-native-dropdownalert -

Published by testshallpass over 6 years ago

  • Add useNativeDriver prop. Thanks @lucianomlima
react-native-dropdownalert -

Published by testshallpass over 6 years ago

  • StatusBar._defaultProps if not defined fallback to default and black #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)}
   />
 }
//....
react-native-dropdownalert -

Published by testshallpass over 6 years ago

Add SafeAreaView support for iPhone X. Thanks @ngandhy

react-native-dropdownalert -

Published by testshallpass over 6 years ago

Fixed issue for tapToCloseEnabled and showCancel Thanks @Enricopv

react-native-dropdownalert -

Published by testshallpass about 7 years ago

  • Add zIndex prop to top view container (Animated.View)

Thanks @trymbill

react-native-dropdownalert -

Published by testshallpass about 7 years ago

  • Fix style variable for Android.
react-native-dropdownalert -

Published by testshallpass about 7 years ago

  • Add props defaultContainer and defaultTextContainer these are inner containers and can be used to override styles for predefined types.

For example, paddingTop:

<DropdownAlert defaultContainer={{flexDirection: 'row', padding: 8, paddingTop: 40}} />
react-native-dropdownalert -

Published by testshallpass about 7 years ago

Overall, big improvements to code structure.

  • Prettier format
  • Newthis.dropdown.closeDirectly() to force close
  • Small components: label and imageview.
  • clearTimeout on componentWillUnmount
react-native-dropdownalert -

Published by testshallpass about 7 years ago

Fix #64 ViewPropsTypes

react-native-dropdownalert -

Published by testshallpass about 7 years ago

  • [Android] Fix pan responder that caused tap to close to stop working.
  • Fix Warning: Can only update a mounted or mounting component

Thanks @Maxeh and @fschai89

react-native-dropdownalert -

Published by testshallpass about 7 years ago

Fix #77

elevation is now exposed as prop for Animated.view

react-native-dropdownalert -

Published by testshallpass over 7 years ago

useNativeDriver enabled for iOS only

react-native-dropdownalert -

Published by testshallpass over 7 years ago

  • Add prop-types as dependency
  • Add prop updateStatusBar
  • Add useNativeDriver to animation block
react-native-dropdownalert -

Published by testshallpass over 7 years ago

Address statusBar styles and flatten style props

Package Rankings
Top 1.49% on Npmjs.org
Top 6.72% on Proxy.golang.org
Badges
Extracted from project README
Platform npm version npm version License CI
Related Projects