Format code
This commit is contained in:
@@ -40,7 +40,7 @@ export const Popover = forwardRef<HTMLDivElement, Props>(
|
||||
shouldCloseOnBlur: true,
|
||||
isDismissable: true,
|
||||
},
|
||||
popoverRef
|
||||
popoverRef,
|
||||
);
|
||||
|
||||
return (
|
||||
@@ -56,5 +56,5 @@ export const Popover = forwardRef<HTMLDivElement, Props>(
|
||||
</div>
|
||||
</FocusScope>
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
@@ -43,7 +43,7 @@ export const PopoverMenuTrigger = forwardRef<
|
||||
const { menuTriggerProps, menuProps } = useMenuTrigger(
|
||||
{},
|
||||
popoverMenuState,
|
||||
buttonRef
|
||||
buttonRef,
|
||||
);
|
||||
|
||||
const popoverRef = useRef(null);
|
||||
@@ -62,7 +62,7 @@ export const PopoverMenuTrigger = forwardRef<
|
||||
typeof children[1] !== "function"
|
||||
) {
|
||||
throw new Error(
|
||||
"PopoverMenu must have two props. The first being a button and the second being a render prop."
|
||||
"PopoverMenu must have two props. The first being a button and the second being a render prop.",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user