mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Change dropdown transitions back to fade
This commit is contained in:
parent
d0aba6e16e
commit
14453a8524
2 changed files with 4 additions and 3 deletions
|
|
@ -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}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue