This Component is made give some userfeedback at alert, info, error or something like that.
The official NativeBase template for Expo
expo init my-app --template @native-base/expo-template
<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! |