Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 2.22 KB

File metadata and controls

53 lines (39 loc) · 2.22 KB

Notification Banner React Native Base Component

This Component is made give some userfeedback at alert, info, error or something like that.

NativeBase Expo Template

The official NativeBase template for Expo

Useage

expo init my-app --template @native-base/expo-template

Render a Notification on your Screen

   <NotificationBanner
          showNotification={showNotification}
          setShowNotification={setShowNotification}
          duration={duration}
          status={status}
          colorScheme={colorScheme}
          titleText={titleText}
          descriptionText={descriptionText}
        />
Parameter Type Description
{AshowNotification} boolean Required. Store the state
setShowNotification function Required. Triggered the state change
{duration} number Required. Close the notification after xxxx ms
{status} string Required. success, error, info, warning
{colorScheme} string Required. success, error, info, warning
{titleText} string Required. Event created successfully.
{descriptionText} string Required. Your event is ready to join. Check Events Tab!

Preview

Preview Banner Solo Preview Banner

🔗 Links

devto linkedin youtube expo

Authors