Before we dive into on how to use this library. We would like to thank all the contributor of above libraries for providing such a awesome nice, cool library
-APIWayletAlertView=RNBottomActionSheet.AlertViewAlertView.Show({title: "Awesome!",message: "What can we improve? Your feedback is always welcome.",positiveText: "OK",positiveBackgroundColor: "#eeffee",positiveTextColor: "#006500",negativeText: "Exit",negativeBackgroundColor: "#ffebeb",negativeTextColor: "#760000",theme: 'light',onPositive: ()=>{console.log('positive clicked')},onNegative: ()=>{console.log('negative clicked')}})-ReactWay<RNBottomActionSheet.AlertViewvisible={this.state.alterView}title={"Awesome!"}message={"What can we improve? Your feedback is always welcome."}positiveText={"OK"}positiveBackgroundColor={"#eeffee"}positiveTextColor={"#006500"}negativeText={"Exit"}negativeBackgroundColor={"#ffebeb"}negativeTextColor={"#760000"} theme={"light"} onPositive={()=>{console.log("positive clicked");}}onNegative={()=>{console.log("negative clicked");}}/>
API's
Sheet View
title(title: string)
items(title: string, subTitle: string, icon: image) - subTitle: iOS Only
onSelection(selcFunc: function)
Show()
titleTextColor(color: string) - Android Only
itemTextColor(color: string) - Android Only
itemTintColor(color: string) - Android Only
backgroundColor(color: string) - Android Only
delayDismissOnItemClick(flag: bool) - Android Only
dividerItem(title: string) - Android Only
theme(theme: string) - iOS Only
selection(selc: int) - iOS Only
Grid View
title(title: string)
ttems(title: string, icon: image)
selection(selcFunc: function)
Show()
itemTextColor(color: string) - Android Only
itemTintColor(color: string) - Android Only
backgroundColor(color: string) - Android Only
delayDismissOnItemClick(flag: bool) - Android Only
theme(theme: string): iOS Only
Alert View
title(title: string)
message(message: string)
positiveText(text: string)
positiveBackgroundColor(color: string)
positiveTextColor(color: string)
negativeText(text: string)
negativeBackgroundColor(color: string)
negativeTextColor(color: string)
onPositive(selcFunc: function)
onNegative(selcFunc: function)
theme(theme: string) - iOS Only
Show()
TO DO
Enable Android customization features for iOS platform as well