diff --git a/src/renderer/components/svgs/bsm-icon.component.tsx b/src/renderer/components/svgs/bsm-icon.component.tsx new file mode 100644 index 00000000..18a18f0a --- /dev/null +++ b/src/renderer/components/svgs/bsm-icon.component.tsx @@ -0,0 +1,30 @@ +import { SettingIcon } from "./setting-icon.component" +import { TrashIcon } from "./trash-icon.component" +import { FavoriteIcon } from "./favorite-icon.component" +import { FolderIcon } from "./folder-icon.component"; +import { BsNoteFill } from "./bs-note-fill.component"; +import { TerminalIcon } from "./terminal-icon.component"; +import { DesktopIcon } from "./desktop-icon.component"; +import { OculusIcon } from "./oculus-icon.component"; + +export type BsmIconType = "settings"|"trash"|"favorite"|"folder"|"bsNote"|"terminal"|"desktop"|"oculus"; + +export function BsmIcon({className, icon}: {className?: string, icon: BsmIconType}) { + + const renderIcon = () => { + if(icon === "settings"){ return } + if(icon === "trash"){ return } + if(icon === "favorite"){ return } + if(icon === "folder"){ return } + if(icon === "bsNote"){ return } + if(icon === "terminal"){ return } + if(icon === "desktop"){ return } + if(icon === "oculus"){ return } + } + + return ( + <> + {renderIcon()} + + ) +}