mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 11:09:05 +01:00
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
interface IconProps {
|
|
icon?: string;
|
|
className?: string;
|
|
}
|
|
|
|
export default function Icon({ icon, className }: IconProps) {
|
|
return <span class={`${icon ?? "bx bx-empty"} ${className ?? ""}`}></span>
|
|
} |