Organize settings dialog code for extensability and add menu transitions to dialog. (#455)

This commit is contained in:
Jas Singh
2024-11-08 00:44:33 -08:00
committed by GitHub
parent d5f112e418
commit 9133834b85
8 changed files with 109 additions and 138 deletions

View File

@@ -0,0 +1,3 @@
export const pageList = <T extends object>(obj: T): Array<keyof T> => {
return Object.keys(obj) as Array<keyof T>;
};