MCPcopy Create free account
hub / github.com/dailydotdev/apps / DetailRow

Function DetailRow

packages/shared/src/components/feedback/FeedbackThread.tsx:98–126  ·  view source on GitHub ↗
({
  label,
  value,
}: {
  label: string;
  value?: string | null;
})

Source from the content-addressed store, hash-verified

96};
97
98const 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
129const TeamDetails = ({ item }: { item: FeedbackItem }): ReactElement | null => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected