mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
refactor: replace whole implementation with a state
This commit is contained in:
committed by
Mythie
parent
cb5df80a26
commit
1a48d194f7
@ -10,8 +10,6 @@ const Popover = PopoverPrimitive.Root;
|
||||
|
||||
const PopoverTrigger = PopoverPrimitive.Trigger;
|
||||
|
||||
const PopoverClose = PopoverPrimitive.Close;
|
||||
|
||||
const PopoverContent = React.forwardRef<
|
||||
React.ElementRef<typeof PopoverPrimitive.Content>,
|
||||
React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>
|
||||
@ -32,4 +30,4 @@ const PopoverContent = React.forwardRef<
|
||||
|
||||
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
||||
|
||||
export { Popover, PopoverTrigger, PopoverContent, PopoverClose };
|
||||
export { Popover, PopoverTrigger, PopoverContent };
|
||||
|
||||
Reference in New Issue
Block a user