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%))', filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
}, },
}} }}
transition="fade" transitionProps={{ transition: 'fade' }}
{...props} {...props}
> >
{children} {children}

View file

@ -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}
/> />
); );

View file

@ -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