Skip to content

Commit

Permalink
feat(@clayui/drop-down): Add the new ContainerProps API to the interf…
Browse files Browse the repository at this point in the history
…ace typing
  • Loading branch information
matuzalemsteles committed May 19, 2021
1 parent 3a09e97 commit 31f38a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/clay-drop-down/src/DropDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ interface IProps extends React.HTMLAttributes<HTMLDivElement | HTMLLIElement> {
/**
* Prop to pass DOM element attributes to <DropDown.Menu />.
*/
menuElementAttrs?: React.HTMLAttributes<HTMLDivElement>;
menuElementAttrs?: React.HTMLAttributes<HTMLDivElement> &
Pick<React.ComponentProps<typeof Menu>, 'containerProps'>;

menuHeight?: React.ComponentProps<typeof Menu>['height'];

Expand Down

0 comments on commit 31f38a9

Please sign in to comment.