Closed Charca closed 2 years ago
Latest commit: |
7a53d88
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8d5deb55.hsds-react.pages.dev |
Branch Preview URL: | https://hsds-277-message-card-text-s.hsds-react.pages.dev |
Thank you, @jakubjanczyk! I've copied my update from the other PR here as well 😄
Note: This PR is a copy of https://github.com/helpscout/hsds/pull/6 adapted for hsds-react.
MessageCard
This PR adds support for Freeform Text surveys. Unlike other survey types, this is not a variant. The functionality for submitting text responses was already part of the
MessageCard.Survey
component, so I've simply added a newisTextOnlySurvey
prop to enable it by default as well as adjusting some styles.How to Test