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

Function MenuIcon

packages/shared/src/components/MenuIcon.tsx:10–22  ·  view source on GitHub ↗
({
  className,
  Icon,
  secondary = false,
}: MenuIconProps)

Source from the content-addressed store, hash-verified

8 Icon: React.ElementType;
9}
10export const MenuIcon = ({
11 className,
12 Icon,
13 secondary = false,
14}: MenuIconProps): ReactElement => {
15 return (
16 <Icon
17 size={IconSize.XSmall}
18 secondary={secondary}
19 className={classNames('text-xl', className)}
20 />
21 );
22};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected