mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
feat: brand new version of icons (#3496)
This commit is contained in:
@@ -5,9 +5,10 @@ import type {
|
||||
VariableMap,
|
||||
} from '@affine/env/filter';
|
||||
import {
|
||||
DateTimeIcon,
|
||||
FavoritedIcon,
|
||||
MultiSelectIcon,
|
||||
CreatedIcon,
|
||||
FavoriteIcon,
|
||||
TagsIcon,
|
||||
UpdatedIcon,
|
||||
} from '@blocksuite/icons';
|
||||
import type { ReactElement } from 'react';
|
||||
|
||||
@@ -29,19 +30,19 @@ export type FilterVariable = {
|
||||
export const variableDefineMap = {
|
||||
Created: {
|
||||
type: () => tDate.create(),
|
||||
icon: <DateTimeIcon />,
|
||||
icon: <CreatedIcon />,
|
||||
},
|
||||
Updated: {
|
||||
type: () => tDate.create(),
|
||||
icon: <DateTimeIcon />,
|
||||
icon: <UpdatedIcon />,
|
||||
},
|
||||
'Is Favourited': {
|
||||
type: () => tBoolean.create(),
|
||||
icon: <FavoritedIcon />,
|
||||
icon: <FavoriteIcon />,
|
||||
},
|
||||
Tags: {
|
||||
type: meta => tArray(tTag.create({ tags: meta.tags.options })),
|
||||
icon: <MultiSelectIcon />,
|
||||
icon: <TagsIcon />,
|
||||
},
|
||||
// Imported: {
|
||||
// type: tBoolean.create(),
|
||||
|
||||
Reference in New Issue
Block a user