plane/apps/app/components/ui/icon.tsx

13 lines
280 B
TypeScript
Raw 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 leading-5 font-light ${className}`}>
{iconName}
</span>
);