Organize settings dialog code for extensability and add menu transitions to dialog. (#455)
This commit is contained in:
3
widget/settings/helpers.ts
Normal file
3
widget/settings/helpers.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const pageList = <T extends object>(obj: T): Array<keyof T> => {
|
||||
return Object.keys(obj) as Array<keyof T>;
|
||||
};
|
||||
Reference in New Issue
Block a user