1 | import { ModalHeaderProps } from 'reactstrap';
|
2 | import { AnalyticsType } from './Feedback';
|
3 |
|
4 | type FaceOption = {
|
5 | icon?: string;
|
6 | description?: string;
|
7 | };
|
8 |
|
9 | type AboutOption = {
|
10 | icon?: string;
|
11 | label?: React.ReactNode;
|
12 | };
|
13 |
|
14 | export interface FeedbackFormProps {
|
15 | name: string;
|
16 | onFeedbackSent?: (feedback?: { [key: string]: any }) => void;
|
17 | faceOptions?: FaceOption[];
|
18 | aboutOptions?: AboutOption[];
|
19 | analytics?: AnalyticsType;
|
20 | prompt?: string;
|
21 | staticFields?: object;
|
22 | modalHeaderProps?: ModalHeaderProps;
|
23 | }
|
24 |
|
25 | declare const FeedbackForm: React.FunctionComponent<FeedbackFormProps>;
|
26 |
|
27 | export default FeedbackForm;
|