mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
feat(core): add new doc button in new all docs header (#12390)
This commit is contained in:
@@ -10,7 +10,6 @@ import type {
|
||||
OrderByParams,
|
||||
} from '@affine/core/modules/collection-rules/types';
|
||||
import { useI18n } from '@affine/i18n';
|
||||
import { ArrowDownSmallIcon } from '@blocksuite/icons/rc';
|
||||
import type React from 'react';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
@@ -122,11 +121,7 @@ export const ExplorerDisplayMenuButton = ({
|
||||
}
|
||||
{...menuProps}
|
||||
>
|
||||
<Button
|
||||
className={className}
|
||||
style={style}
|
||||
suffix={<ArrowDownSmallIcon />}
|
||||
>
|
||||
<Button className={className} style={style}>
|
||||
{t['com.affine.explorer.display-menu.button']()}
|
||||
</Button>
|
||||
</Menu>
|
||||
|
||||
Reference in New Issue
Block a user