Announcement Banners
Last updated
Last updated
To install the Quest react-native-sdk
into your project, follow these steps:
Open your terminal/command prompt.
Navigate to your project's root directory using the cd
command if you're not already there.
Run the following command to install the quest-sdk
package using npm:
This command will download and install the package and its dependencies into your project.
Make sure your project has npm and Node.js installed, and that you have the necessary permissions to install packages in your project directory.
To integrate the Announcement_Banners
component into your React native application, follow these steps
Import the Announcement_Banners Component: Import the Announcement_Banners
component from the @questlabs/react-sdk
package.
Import the QuestProvider Component: Import the QuestProvider
component from the @questlabs/react-sdk
package.
The Announcement_Banners component accepts the following props
Props Name | Type | Require | Details |
---|---|---|---|
mainViewStyle
ViewStyle
optional
Main View Style
headerViewStyle
ViewStyle
optional
header View Style
headerTextStyle
TextStyle
optional
header Text Style
crossViewStyle
ViewStyle
optional
cross View Style
welcomeTextStyle
TextStyle
optional
welcome Text Style
middelViewStyle
ViewStyle
optional
middel View Style
descriptionTextStyle
TextStyle
optional
description Text Style
buttonViewStyle
ViewStyle
optional
button View Style
buttonTextStyle
TextStyle
optional
button Text Style
iconViewStyle
ViewStyle
optional
icon View Style
footerViewStyle
ViewStyle
optional
footer View Style
footerTextStyle
TextStyle
optional
footer Text Style