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

Function AskProblem

packages/shared/src/features/ask/components/AskProblem.tsx:32–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30];
31
32export const AskProblem = (): ReactElement => {
33 return (
34 <FlexCol className="gap-4">
35 <Typography type={TypographyType.Title3} bold center>
36 Why not just use web search?
37 </Typography>
38 <div className="flex flex-col gap-4 text-center tablet:flex-row">
39 {problems.map(({ icon, title, description }) => (
40 <FlexCol className="flex-1 items-center gap-1" key={title}>
41 {icon}
42 <Typography type={TypographyType.Callout} bold className="mt-1.5">
43 {title}
44 </Typography>
45 <Typography
46 type={TypographyType.Footnote}
47 color={TypographyColor.Secondary}
48 >
49 {description}
50 </Typography>
51 </FlexCol>
52 ))}
53 </div>
54 </FlexCol>
55 );
56};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected