General Feedback Component
The Feedback Form Component is an essential tool for collecting user opinions, suggestions, and comments. It allows you to gather valuable feedback to improve your product or service.
Last updated
The Feedback Form Component is an essential tool for collecting user opinions, suggestions, and comments. It allows you to gather valuable feedback to improve your product or service.
Last updated
To unlock early access to the component Get Access
In this video, you'll learn:
How to use the component.
Customization options for the Banner component.
To install the Quest react-native-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.
The Feedback
component accepts the following props
To integrate the Feedback component into your React application, follow these steps
Import the Feedback Component: Import the Tutorial component from the @questlabs/react--native-sdk
package.
Here's an example of how to use the Feedback component within your React Native application.
Prop Name | Type | Required | Details |
---|---|---|---|
ratingMainViewStyle
ViewStyle
optional
The Rating Main View Style.
ratingTitle
string
optional
The Rating Title.
mainViewStyle
ViewStyle
optional
The Main View Style.
headerViewStyle
ViewStyle
optional
The Header View Style.
headerTextStyle
TextStyle
optional
The Header Text Style.
detailsViewStyle
ViewStyle
optional
The Details View Style.
detailsTextStyle
TextStyle
optional
The Details Text Style.
inputMainViewStyle
ViewStyle
optional
The Input Main View Style.
inputBoxTitleViewStyle
ViewStyle
optional
The Input Title View Style.
inputBoxTitleTextStyle
TextStyle
optional
The Input Title Text Style.
ErrorTextStyle
TextStyle
optional
The Error Text Style.
inputBoxStyle
ViewStyle
optional
The Input Box Style.
ratingOutterView
ViewStyle
optional
The Rating Outter View.
ratingTextStyle
TextStyle
optional
The Rating Text Style.
starViewStyle
ViewStyle
optional
The Starts View Style.
buttonOutterViewStyle
ViewStyle
optional
The Button Outter View.
buttonStyle
ViewStyle
optional
The Button Styles.
buttonTextStyle
TextStyle
optional
The Button Text.
notificationTitle
string
required
The Notification Title.
notificationDetails
string
optional
The Notification Details.
notificationIcon
any
optional
The Notification Icon
onSubmit
(feedBack:FeedBack)