Add function name
This commit is contained in:
parent
b580b3ddaf
commit
d8936c8320
1 changed files with 4 additions and 1 deletions
|
|
@ -14,7 +14,10 @@ export const DropdownMenuGroup = DropdownMenuPrimitive.Group
|
|||
export const DropdownMenuSeparator = DropdownMenuPrimitive.Separator
|
||||
|
||||
export const DropdownMenuContent = React.forwardRef<HTMLDivElement, Props>(
|
||||
({ children, ...props }: PropsWithChildren<Props>, forwardedRef) => {
|
||||
function dropdownMenuContent(
|
||||
{ children, ...props }: PropsWithChildren<Props>,
|
||||
forwardedRef
|
||||
) {
|
||||
const classes = classNames(props.className, {
|
||||
Menu: true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue