mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
chore: bump version (#1943)
This commit is contained in:
@@ -7,7 +7,7 @@ import { StyledMenuWrapper } from './styles';
|
||||
export type MenuProps = {
|
||||
width?: CSSProperties['width'];
|
||||
} & PopperProps &
|
||||
Omit<TooltipProps, 'title'>;
|
||||
Omit<TooltipProps, 'title' | 'content'>;
|
||||
export const Menu = (props: MenuProps) => {
|
||||
const { width, content, placement = 'bottom-start', children } = props;
|
||||
return content ? (
|
||||
|
||||
@@ -60,4 +60,4 @@ export type PopperProps = {
|
||||
popperHandlerRef?: Ref<PopperHandler>;
|
||||
|
||||
onClickAway?: () => void;
|
||||
} & Omit<PopperUnstyledProps, 'open'>;
|
||||
} & Omit<PopperUnstyledProps, 'open' | 'content'>;
|
||||
|
||||
@@ -57,7 +57,7 @@ const StyledCircleContainer = styled('div')(({ theme }) => {
|
||||
});
|
||||
|
||||
export const QuickSearchTips = (
|
||||
props: PopperProps & Omit<TooltipProps, 'title'>
|
||||
props: PopperProps & Omit<TooltipProps, 'title' | 'content'>
|
||||
) => {
|
||||
const { content, placement = 'top', children } = props;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user