forked from Github/frigate
UI Fixes (#11602)
* Fix playback rate not showing * Fix export image * Formatting * Formatting
This commit is contained in:
@@ -56,9 +56,11 @@ DropdownMenuSubContent.displayName =
|
||||
|
||||
const DropdownMenuContent = React.forwardRef<
|
||||
React.ElementRef<typeof DropdownMenuPrimitive.Content>,
|
||||
React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>
|
||||
>(({ className, sideOffset = 4, ...props }, ref) => (
|
||||
<DropdownMenuPrimitive.Portal>
|
||||
React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
||||
portalProps?: DropdownMenuPrimitive.DropdownMenuPortalProps;
|
||||
}
|
||||
>(({ className, portalProps, sideOffset = 4, ...props }, ref) => (
|
||||
<DropdownMenuPrimitive.Portal {...portalProps}>
|
||||
<DropdownMenuPrimitive.Content
|
||||
ref={ref}
|
||||
sideOffset={sideOffset}
|
||||
|
||||
Reference in New Issue
Block a user