// #region [Imports] =================================================================================================== // Libraries import { ThunderboltOutlined, ReadOutlined, SettingOutlined, QuestionCircleOutlined, CheckSquareOutlined, ApiOutlined, IssuesCloseOutlined, WarningOutlined } from "@ant-design/icons"; // #endregion [Imports] // #region [Interfaces]================================================================================================= export interface IProps { iconKey: string; } // #endregion [Interfaces] // #region [Component] ================================================================================================= const SidebarIcon = (props: IProps) => { const {iconKey} = props; if ('getting_started'=== iconKey) return ; if ('documentation'=== iconKey) return ; if ('settings'=== iconKey) return ; if ('support'=== iconKey) return ; if ('active'=== iconKey) return ; if ('inactive'=== iconKey) return ; if ('expired'=== iconKey) return ; if ('learn_more'=== iconKey) return ; return null; } export default SidebarIcon; // #endregion [Component]