Skip to content

Commit

Permalink
expose menuAppendTo in Dropdown prop docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Apr 11, 2022
1 parent c756f63 commit 52e632c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-core/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const Dropdown: React.FunctionComponent<DropdownProps> = ({
ouiaSafe,
alignments,
contextProps,
menuAppendTo = 'inline',
...props
}: DropdownProps) => (
<DropdownContext.Provider
Expand All @@ -79,7 +80,7 @@ export const Dropdown: React.FunctionComponent<DropdownProps> = ({
...contextProps
}}
>
<DropdownWithContext {...props} />
<DropdownWithContext menuAppendTo={menuAppendTo} {...props} />
</DropdownContext.Provider>
);
Dropdown.displayName = 'Dropdown';

0 comments on commit 52e632c

Please sign in to comment.