Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

322 B
Raw Blame
import { ReactNode } from "react";

interface MenuIconProps {
  icon: ReactNode;
  text: string;
}

export function IconMenu({ icon, text }: MenuIconProps) {
  return (
    <div className="flex items-center justify-start space-x-2 truncate">
      {icon}
      <p className="truncate text-sm">{text}</p>
    </div>
  );
}