diff --git a/src/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js b/src/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js
index 259131be2..fbcdf146c 100644
--- a/src/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js
+++ b/src/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js
@@ -6,7 +6,13 @@ import React, { useRef } from 'react'
import menuButtonStyles from '../MenuButton.styles.js'
import { useHoverMenubarContext } from './HoverMenuBar.js'
-export const HoverMenuDropdown = ({ children, label, dataTest, disabled }) => {
+export const HoverMenuDropdown = ({
+ children,
+ className,
+ label,
+ dataTest,
+ disabled,
+}) => {
const buttonRef = useRef()
const {
onDropDownButtonClick,
@@ -18,7 +24,7 @@ export const HoverMenuDropdown = ({ children, label, dataTest, disabled }) => {
return (
<>
', () => {
expect(wrapper.find('button').prop('data-test')).toBe(dataTest)
})
+
+ it('accepts a `className` prop', () => {
+ const className = 'test'
+ const wrapper = shallow(
+
+ children
+
+ )
+
+ expect(wrapper.find('button')).toHaveClassName(className)
+ })
})