Files
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02:00

14 lines
296 B
TypeScript
Executable File

import React from 'react';
type IconProps = {
name: string;
className?: string;
};
export function Icon({name, className = 'w-24 h-24'}: IconProps) {
return (
<svg className={`fill-current inline-block ${className}`}>
<use href={`/icons/merged.svg#${name}`} />
</svg>
);
}