forked from github/plane
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
|
import React from "react";
|
||
|
|
||
|
type Props = {
|
||
|
iconName: string;
|
||
|
className?: string;
|
||
|
};
|
||
|
|
||
|
export const Icon: React.FC<Props> = ({ iconName, className = "" }) => (
|
||
|
<span className={`material-symbols-rounded text-lg leading-5 font-light ${className}`}>
|
||
|
{iconName}
|
||
|
</span>
|
||
|
);
|