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

Function Requirement

packages/shared/src/features/boost/BoostSourceButton.tsx:25–43  ·  view source on GitHub ↗
({ copy, passed }: { copy: string; passed: boolean })

Source from the content-addressed store, hash-verified

23import { Origin } from '../../lib/log';
24
25const Requirement = ({ copy, passed }: { copy: string; passed: boolean }) => {
26 const Icon = passed ? VIcon : MiniCloseIcon;
27
28 return (
29 <Typography
30 type={TypographyType.Body}
31 tag={TypographyTag.Span}
32 className="flex w-full flex-row items-center justify-between"
33 >
34 {copy}
35 <Icon
36 size={IconSize.XSmall}
37 className={
38 passed ? 'text-action-upvote-default' : 'text-action-downvote-default'
39 }
40 />
41 </Typography>
42 );
43};
44
45export function BoostSourceButton({
46 squad,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected