react-native-smart-notif-panel
Getting started
$ npm install react-native-smart-notif-panel --save
Mostly automatic installation
$ react-native link react-native-interactable
Manual installation
Usage
;;; state = direction: 'bottom' { return <View style=stylescontainer> <TouchableOpacity style= width: 100 height: 60 justifyContent: 'center' alignItems: 'center' onPress= this > <Text>Change direction</Text> </TouchableOpacity> <SmartNotifPanel // maxWidthOrHeight={600} minWidthOrHeight=80 backgroundColor='#182e43f0' direction=thisstatedirection > <View style= justifyContent: 'center' alignItems: 'center' > <Text style= fontSize: 18 color: '#ffffff80' marginBottom: 10 alignItems: 'center' > Notify panel </Text> </View> </SmartNotifPanel> </View> ; } const styles = StyleSheet; ;