Migrate transition props
This commit is contained in:
parent
157ac9f3a2
commit
f7740407c3
3 changed files with 4 additions and 6 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -147,7 +147,7 @@ export const PlayQueueListControls = ({ type, tableRef }: PlayQueueListOptionsPr
|
|||
<Group>
|
||||
<Popover
|
||||
position="top-end"
|
||||
transition="fade"
|
||||
transitionProps={{ transition: 'fade' }}
|
||||
>
|
||||
<Popover.Target>
|
||||
<Button
|
||||
|
|
Reference in a new issue