Skip to content

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

react-native-alert

Features

  1. Pure javascript solution.

thanks to https://github.com/magicismight/react-native-root-toast.git

Install

npm install rn-alert

How to use

importAlertfrom'rn-alert';
#set customtextstyle,isjustneedtosetfont
# notrequirevarstyles=StyleSheet.create({alertTextStyle : {fontFamily: "Arial",//just set global fontFamily},})Alert.setTextStyle(styles.alertTextStyle);
# callalertAlert.alert('title','message',[{text: 'button text',onPress: ()=>{console.log('button press action')}},])

About

react native alert

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages