1- import type { TextStyle , ViewStyle } from 'react-native' ;
1+ import type { ImageStyle , TextStyle , ViewStyle } from 'react-native' ;
22
3+ /**
4+ * The props for the feedback form
5+ */
36export interface FeedbackFormProps extends FeedbackGeneralConfiguration , FeedbackTextConfiguration , FeedbackCallbacks {
47 styles ?: FeedbackFormStyles ;
58}
@@ -8,6 +11,13 @@ export interface FeedbackFormProps extends FeedbackGeneralConfiguration, Feedbac
811 * General feedback configuration
912 */
1013export interface FeedbackGeneralConfiguration {
14+ /**
15+ * Show the Sentry branding
16+ *
17+ * @default true
18+ */
19+ showBranding ?: boolean ;
20+
1121 /**
1222 * Should the email field be required?
1323 */
@@ -128,6 +138,9 @@ export interface FeedbackCallbacks {
128138 onFormClose ?: ( ) => void ;
129139}
130140
141+ /**
142+ * The styles for the feedback form
143+ */
131144export interface FeedbackFormStyles {
132145 container ?: ViewStyle ;
133146 title ?: TextStyle ;
@@ -138,8 +151,13 @@ export interface FeedbackFormStyles {
138151 submitText ?: TextStyle ;
139152 cancelButton ?: ViewStyle ;
140153 cancelText ?: TextStyle ;
154+ titleContainer ?: ViewStyle ;
155+ sentryLogo ?: ImageStyle ;
141156}
142157
158+ /**
159+ * The state of the feedback form
160+ */
143161export interface FeedbackFormState {
144162 isVisible : boolean ;
145163 name : string ;
0 commit comments