Unverified Commit eb400be6 authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub

feat: Add maxHeight prop for Menu Options (#352)

parent c049c9b8
......@@ -17,6 +17,7 @@ export const Menu = ({
optionWidth,
placement = 'bottom-start',
renderItem,
maxHeight,
...props
}) => {
const mappedOptions = mapOptions(options);
......@@ -69,6 +70,7 @@ export const Menu = ({
placement={placement}
>
<Options
maxHeight={maxHeight}
renderItem={renderItem}
width={optionWidth}
onSelect={handleSelection}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment