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

Function Icon

packages/shared/src/components/containers/FeedTopicCard.tsx:28–39  ·  view source on GitHub ↗
({ isActive }: IconProps)

Source from the content-addressed store, hash-verified

26}
27
28const Icon = ({ isActive }: IconProps) => {
29 const iconClasses = classNames(
30 'absolute right-1 top-1 rounded-full',
31 isActive && 'bg-accent-cabbage-bolder',
32 );
33
34 if (isActive) {
35 return <VIcon className={iconClasses} />;
36 }
37
38 return null;
39};
40
41function FeedFilterCard({
42 topic,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected