({
label,
value,
}: {
label: string;
value?: string | null;
})
| 96 | }; |
| 97 | |
| 98 | const DetailRow = ({ |
| 99 | label, |
| 100 | value, |
| 101 | }: { |
| 102 | label: string; |
| 103 | value?: string | null; |
| 104 | }): ReactElement | null => { |
| 105 | if (!value) { |
| 106 | return null; |
| 107 | } |
| 108 | |
| 109 | return ( |
| 110 | <div className="flex flex-col gap-1 tablet:flex-row tablet:gap-3"> |
| 111 | <Typography |
| 112 | type={TypographyType.Footnote} |
| 113 | color={TypographyColor.Tertiary} |
| 114 | className="w-28 shrink-0" |
| 115 | > |
| 116 | {label} |
| 117 | </Typography> |
| 118 | <Typography |
| 119 | type={TypographyType.Footnote} |
| 120 | className="min-w-0 flex-1 break-words" |
| 121 | > |
| 122 | {value} |
| 123 | </Typography> |
| 124 | </div> |
| 125 | ); |
| 126 | }; |
| 127 | |
| 128 | // Classification and client context, shown to team members only |
| 129 | const TeamDetails = ({ item }: { item: FeedbackItem }): ReactElement | null => { |
nothing calls this directly
no outgoing calls
no test coverage detected