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

Function Row

packages/shared/src/features/patchy/PatchyMenu.tsx:60–67  ·  view source on GitHub ↗
({ icon, children }: { icon: ReactNode; children: ReactNode })

Source from the content-addressed store, hash-verified

58}
59
60const Row = ({ icon, children }: { icon: ReactNode; children: ReactNode }) => (
61 <span className="flex min-w-0 flex-1 items-center gap-2">
62 <span className="flex size-5 shrink-0 items-center justify-center text-text-tertiary">
63 {icon}
64 </span>
65 <span className="line-clamp-2 min-w-0 flex-1 break-words">{children}</span>
66 </span>
67);
68
69const icon = {
70 read: <SparkleIcon size={IconSize.Size16} />,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected