plane/space/components/ui/icon.tsx

11 lines
272 B
TypeScript
Raw Permalink Normal View History

import React from "react";
type Props = {
iconName: string;
className?: string;
};
export const Icon: React.FC<Props> = ({ iconName, className = "" }) => (
<span className={`material-symbols-rounded text-sm font-light leading-5 ${className}`}>{iconName}</span>
);