Skip to content

Instantly share code, notes, and snippets.

@mdalaminbey
Created July 20, 2023 10:33
Show Gist options
  • Select an option

  • Save mdalaminbey/79a0d802610fcaf9fb5473a381473fd2 to your computer and use it in GitHub Desktop.

Select an option

Save mdalaminbey/79a0d802610fcaf9fb5473a381473fd2 to your computer and use it in GitHub Desktop.
const previewComponents = {
welcome: WelcomeQuestion,
long_text: LongTextQuestion,
short_text: ShortTextQuestion,
number: NumberQuestion,
button: ButtonQuestion,
file_upload: FileQuestion,
email: EmailQuestion,
website: UrlQuestion,
range_slider: SliderQuestion,
date: DateQuestion,
address: AddressQuestion,
result: ResultQuestion,
promoter_score: ScoreQuestion,
single_select: SingleSelectQuestion,
multi_select: MultiSelectQuestion,
dropdown: DropdownQuestion,
phone_number: PhoneNumberQuestion,
end: EndQuestion,
contact_info: ContactQuestion,
open_ended: OpenEndedQuestion,
picture_select: PictureSelectQuestion,
rating_star: RatingQuestion,
yes_no: YesNoQuestion,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment