({ copy, passed }: { copy: string; passed: boolean })
| 23 | import { Origin } from '../../lib/log'; |
| 24 | |
| 25 | const 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 | |
| 45 | export function BoostSourceButton({ |
| 46 | squad, |
nothing calls this directly
no outgoing calls
no test coverage detected