mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 02:00:49 +08:00
feat: update icon
This commit is contained in:
@@ -89,6 +89,7 @@ export const iconNames = [
|
||||
'edgeless',
|
||||
'journal',
|
||||
'payment',
|
||||
'createdEdited',
|
||||
] as const satisfies fromLibIconName<LibIconComponentName>[];
|
||||
|
||||
export type PagePropertyIcon = (typeof iconNames)[number];
|
||||
@@ -110,9 +111,9 @@ export const getDefaultIconName = (
|
||||
case 'number':
|
||||
return 'number';
|
||||
case 'createdBy':
|
||||
return 'account';
|
||||
return 'createdEdited';
|
||||
case 'updatedBy':
|
||||
return 'account';
|
||||
return 'createdEdited';
|
||||
default:
|
||||
return 'text';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user