({
accent,
children,
}: {
accent?: PlusBannerAccent;
children: ReactNode;
})
| 77 | ); |
| 78 | |
| 79 | const Pill = ({ |
| 80 | accent, |
| 81 | children, |
| 82 | }: { |
| 83 | accent?: PlusBannerAccent; |
| 84 | children: ReactNode; |
| 85 | }): ReactElement => ( |
| 86 | <span |
| 87 | className={classNames( |
| 88 | 'flex h-5 shrink-0 items-center gap-1 rounded-6 px-1.5 transition-colors duration-300 typo-caption2', |
| 89 | accent |
| 90 | ? 'plus-banner-tint-chip font-bold' |
| 91 | : 'bg-surface-float text-text-secondary', |
| 92 | )} |
| 93 | style={accentStyle(accent)} |
| 94 | > |
| 95 | {children} |
| 96 | </span> |
| 97 | ); |
| 98 | |
| 99 | interface CardProps { |
| 100 | source?: string; |
nothing calls this directly
no test coverage detected