Further improve UX of the suggestion cards

This commit is contained in:
sabaimran
2024-12-21 20:10:54 -08:00
parent 8c9c57e060
commit 62dd4c55d4
4 changed files with 188 additions and 55 deletions

View File

@@ -171,6 +171,9 @@ const iconMap: IconMap = {
Image: (color: string, width: string, height: string) => (
<Image className={`${width} ${height} ${color} mr-2`} />
),
File: (color: string, width: string, height: string) => (
<File className={`${width} ${height} ${color} mr-2`} />
),
};
export function getIconForSlashCommand(command: string, customClassName: string | null = null) {