We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95fb301 commit b67877bCopy full SHA for b67877b
packages/react/src/components/MenuButton/index.tsx
@@ -70,7 +70,7 @@ export interface MenuButtonProps extends ComponentProps<'div'> {
70
/**
71
* Experimental property. Specify how the menu should align with the button element
72
*/
73
- menuAlignment: MenuAlignment;
+ menuAlignment?: MenuAlignment;
74
75
76
* Specify the size of the button and menu.
@@ -248,7 +248,6 @@ MenuButton.propTypes = {
248
249
250
251
- // @ts-ignore-next-line -- avoid spurious (?) TS2322 error
252
menuAlignment: PropTypes.oneOf([
253
'top',
254
'top-start',
0 commit comments