mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
feat(website): group items by symbol kind (#8360)
* feat(website): group items by symbol kind * chore: make requested changes * chore: fix darkmode colors * chore: make requested changes * Update packages/website/src/components/ListSidebar.tsx Co-authored-by: Almeida <almeidx@pm.me> Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
@@ -4,7 +4,7 @@ export function generateIcon(kind: string, className?: string) {
|
||||
const icons = {
|
||||
Class: <VscSymbolClass className={className} />,
|
||||
Method: <VscSymbolMethod className={className} />,
|
||||
Function: <VscSymbolMethod color="purple" className={className} />,
|
||||
Function: <VscSymbolMethod className={className} />,
|
||||
Enum: <VscSymbolEnum className={className} />,
|
||||
Interface: <VscSymbolInterface className={className} />,
|
||||
TypeAlias: <VscSymbolVariable className={className} />,
|
||||
|
||||
Reference in New Issue
Block a user