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

Function Chips

packages/shared/src/components/shell/ShellRow.tsx:280–296  ·  view source on GitHub ↗
({ items }: { items: RowItem[] })

Source from the content-addressed store, hash-verified

278);
279
280export const Chips = ({ items }: { items: RowItem[] }): ReactElement => (
281 <>
282 {items.map((item) => (
283 <RowChip
284 key={item.key}
285 item={item}
286 className={classNames(
287 chipClassName,
288 item.active
289 ? 'bg-text-primary text-surface-invert'
290 : 'bg-surface-float text-text-secondary',
291 )}
292 content={item.label}
293 />
294 ))}
295 </>
296);
297
298export const MenuLabel = ({
299 label,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected