Skip to content

Commit 2403e35

Browse files
committed
fix prop desc example
1 parent 9e3578f commit 2403e35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ export interface CalendarProps extends CalendarFormat, Omit<React.HTMLProps<HTML
8484
/** The container to append the month select menu to. Defaults to 'inline'.
8585
* If your menu is being cut off you can append it to an element higher up the DOM tree.
8686
* Some examples:
87-
* menuAppendTo={() => document.body};
88-
* menuAppendTo={document.getElementById('target')}
87+
* monthAppendTo={() => document.body};
88+
* monthAppendTo={document.getElementById('target')}
8989
*/
9090
monthAppendTo?: HTMLElement | ((ref?: HTMLElement) => HTMLElement) | 'inline';
9191
}

0 commit comments

Comments
 (0)