@@ -11,14 +11,15 @@ import { mergeRefs } from 'react-merge-refs';
1111import  {  ThemeContext  }  from  'styled-components' ; 
1212import  {  useMenu  }  from  '@zendeskgarden/container-menu' ; 
1313import  {  DEFAULT_THEME ,  useWindow  }  from  '@zendeskgarden/react-theming' ; 
14- import  {  IButtonProps  }  from  '@zendeskgarden/react-buttons' ; 
14+ import  {  Button ,   IButtonProps  }  from  '@zendeskgarden/react-buttons' ; 
1515import  {  IMenuProps ,  PLACEMENT  }  from  '../../types' ; 
1616import  {  MenuContext  }  from  '../../context/useMenuContext' ; 
1717import  {  toItems  }  from  './utils' ; 
1818import  {  MenuList  }  from  './MenuList' ; 
19- import  {  StyledButton  }  from  '../../views' ; 
2019import  ChevronIcon  from  '@zendeskgarden/svg-icons/src/16/chevron-down-stroke.svg' ; 
2120
21+ const  BTN_COMPONENT_ID  =  'dropdowns.menu.button' ; 
22+ 
2223/** 
2324 * @extends  HTMLAttributes<HTMLUListElement> 
2425 */ 
@@ -87,12 +88,12 @@ export const Menu = forwardRef<HTMLUListElement, IMenuProps>(
8788      typeof  button  ===  'function'  ? ( 
8889        button ( triggerProps ) 
8990      )  : ( 
90-         < StyledButton  { ...triggerProps } > 
91+         < Button  { ...triggerProps }   data-garden-id = { BTN_COMPONENT_ID } > 
9192          { button } 
92-           < StyledButton . EndIcon  isRotated = { isExpanded } > 
93+           < Button . EndIcon  isRotated = { isExpanded } > 
9394            < ChevronIcon  /> 
94-           </ StyledButton . EndIcon > 
95-         </ StyledButton > 
95+           </ Button . EndIcon > 
96+         </ Button > 
9697      ) ; 
9798
9899    const  contextValue  =  useMemo ( 
0 commit comments