Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ import com.posthog.surveys.PostHogDisplaySurveyTextContentType
* [PostHogDisplayRatingQuestion.ratingType] equal to
* [PostHogDisplaySurveyRatingType.EMOJI].
*
* Renders 3 or 5 face shapes (Dissatisfied / Neutral / Satisfied for scale 3,
* VeryDissatisfied β†’ VerySatisfied for scale 5). The face artwork is the same
* Renders 2, 3, or 5 shapes (thumbs up / thumbs down for scale 2,
* Dissatisfied / Neutral / Satisfied for scale 3, VeryDissatisfied β†’
* VerySatisfied for scale 5). The artwork is the same
* SVG used by the web product (posthog-js
* `packages/browser/src/extensions/surveys/icons.tsx`) β€” the exact `d` path
* strings are embedded verbatim in [PostHogEmoji] and parsed at draw time by
Expand All @@ -50,7 +51,9 @@ import com.posthog.surveys.PostHogDisplaySurveyTextContentType
*
* Selected emojis are tinted
* [com.posthog.android.surveys.compose.internal.theme.ResolvedSurveyAppearance.ratingButtonActiveColor],
* unselected use `ratingButtonColor`.
* unselected ones use
* [com.posthog.android.surveys.compose.internal.theme.ResolvedSurveyAppearance.inputTextColor]
* at 50% alpha.
*/
@Composable
internal fun EmojiRating(
Expand Down