refactoring (#178)
* unify components import * refactor config and app context * refactor icons * refactor date, error, mxid and storage * refactor synapse utils
This commit is contained in:
		
							
								
								
									
										16
									
								
								src/utils/icons.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/utils/icons.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| import AnnouncementIcon from '@mui/icons-material/Announcement'; | ||||
| import EngineeringIcon from '@mui/icons-material/Engineering'; | ||||
| import HelpCenterIcon from '@mui/icons-material/HelpCenter'; | ||||
| import SupportAgentIcon from '@mui/icons-material/SupportAgent'; | ||||
| import OpenInNewIcon from '@mui/icons-material/OpenInNew'; | ||||
|  | ||||
| export const Icons = { | ||||
|   Announcement: AnnouncementIcon, | ||||
|   Engineering: EngineeringIcon, | ||||
|   HelpCenter: HelpCenterIcon, | ||||
|   SupportAgent: SupportAgentIcon, | ||||
|   Default: OpenInNewIcon, | ||||
|   // Add more icons as needed | ||||
| }; | ||||
|  | ||||
| export const DefaultIcon = Icons.Default; | ||||
		Reference in New Issue
	
	Block a user
	 Aine
					Aine