mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
Change dropdown transitions back to fade
This commit is contained in:
parent
d0aba6e16e
commit
14453a8524
@ -1,3 +1,4 @@
|
||||
import { ReactNode } from 'react';
|
||||
import type {
|
||||
MenuProps as MantineMenuProps,
|
||||
MenuItemProps as MantineMenuItemProps,
|
||||
@ -14,7 +15,7 @@ type MenuLabelProps = MantineMenuLabelProps;
|
||||
interface MenuItemProps extends MantineMenuItemProps {
|
||||
$danger?: boolean;
|
||||
$isActive?: boolean;
|
||||
children: React.ReactNode;
|
||||
children: ReactNode;
|
||||
}
|
||||
type MenuDividerProps = MantineMenuDividerProps;
|
||||
type MenuDropdownProps = MantineMenuDropdownProps;
|
||||
@ -87,7 +88,7 @@ export const DropdownMenu = ({ children, ...props }: MenuProps) => {
|
||||
},
|
||||
}}
|
||||
transitionProps={{
|
||||
transition: 'pop',
|
||||
transition: 'fade',
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
|
@ -27,7 +27,7 @@ export const Popover = ({ children, ...props }: PopoverProps) => {
|
||||
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
|
||||
},
|
||||
}}
|
||||
transitionProps={{ transition: 'pop' }}
|
||||
transitionProps={{ transition: 'fade' }}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
|
Loading…
Reference in New Issue
Block a user