Skip to content

Build your personal knowledge base with Trilium Notes

244 B
Raw Blame
interface IconProps {
    svg: string;
    className?: string;
}

export default function Icon({ svg, className }: IconProps) {
    return (
        <span className={`bx ${className ?? ""}`} dangerouslySetInnerHTML={{ __html: svg }} />
    )
}