mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
Migrate transition props
This commit is contained in:
@@ -27,7 +27,7 @@ export const Popover = ({ children, ...props }: PopoverProps) => {
|
|||||||
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
|
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
transition="fade"
|
transitionProps={{ transition: 'fade' }}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -64,8 +64,7 @@ export const Select = ({ width, maxWidth, ...props }: SelectProps) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
sx={{ maxWidth, width }}
|
sx={{ maxWidth, width }}
|
||||||
transition="fade"
|
transitionProps={{ duration: 100, transition: 'fade' }}
|
||||||
transitionDuration={100}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -126,8 +125,7 @@ export const MultiSelect = ({ width, maxWidth, ...props }: MultiSelectProps) =>
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
sx={{ maxWidth, width }}
|
sx={{ maxWidth, width }}
|
||||||
transition="fade"
|
transitionProps={{ duration: 100, transition: 'fade' }}
|
||||||
transitionDuration={100}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ export const PlayQueueListControls = ({ type, tableRef }: PlayQueueListOptionsPr
|
|||||||
<Group>
|
<Group>
|
||||||
<Popover
|
<Popover
|
||||||
position="top-end"
|
position="top-end"
|
||||||
transition="fade"
|
transitionProps={{ transition: 'fade' }}
|
||||||
>
|
>
|
||||||
<Popover.Target>
|
<Popover.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user