({
active = false,
accent,
children,
}: {
active?: boolean;
accent?: PlusBannerAccent;
children: ReactNode;
})
| 330 | }; |
| 331 | |
| 332 | const FeedTab = ({ |
| 333 | active = false, |
| 334 | accent, |
| 335 | children, |
| 336 | }: { |
| 337 | active?: boolean; |
| 338 | accent?: PlusBannerAccent; |
| 339 | children: ReactNode; |
| 340 | }): ReactElement => ( |
| 341 | <span |
| 342 | className={classNames( |
| 343 | 'flex h-7 items-center gap-1 rounded-10 px-2.5 font-bold transition-colors duration-300 typo-footnote', |
| 344 | active && accent && 'plus-banner-tint-chip', |
| 345 | active && !accent && 'bg-surface-float text-text-primary', |
| 346 | !active && 'text-text-tertiary', |
| 347 | )} |
| 348 | style={accentStyle(accent)} |
| 349 | > |
| 350 | <HashtagIcon size={IconSize.Size16} /> |
| 351 | {children} |
| 352 | </span> |
| 353 | ); |
| 354 | |
| 355 | const mixedFeed = [{ tag: 'career' }, { tag: 'design' }, { tag: 'kubernetes' }]; |
| 356 | const aiCodingFeed = [ |
nothing calls this directly
no test coverage detected