feat(core): add new doc button in new all docs header (#12390)

This commit is contained in:
EYHN
2025-05-20 17:10:20 +09:00
committed by GitHub
parent 59ef4b227b
commit 20665575d0
3 changed files with 68 additions and 6 deletions
@@ -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>