Migrate transition props

This commit is contained in:
jeffvli 2023-03-05 18:49:38 -08:00
parent 157ac9f3a2
commit f7740407c3
3 changed files with 4 additions and 6 deletions

View file

@ -27,7 +27,7 @@ export const Popover = ({ children, ...props }: PopoverProps) => {
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
},
}}
transition="fade"
transitionProps={{ transition: 'fade' }}
{...props}
>
{children}

View file

@ -64,8 +64,7 @@ export const Select = ({ width, maxWidth, ...props }: SelectProps) => {
},
}}
sx={{ maxWidth, width }}
transition="fade"
transitionDuration={100}
transitionProps={{ duration: 100, transition: 'fade' }}
{...props}
/>
);
@ -126,8 +125,7 @@ export const MultiSelect = ({ width, maxWidth, ...props }: MultiSelectProps) =>
},
}}
sx={{ maxWidth, width }}
transition="fade"
transitionDuration={100}
transitionProps={{ duration: 100, transition: 'fade' }}
{...props}
/>
);

View file

@ -147,7 +147,7 @@ export const PlayQueueListControls = ({ type, tableRef }: PlayQueueListOptionsPr
<Group>
<Popover
position="top-end"
transition="fade"
transitionProps={{ transition: 'fade' }}
>
<Popover.Target>
<Button