Skip to content

Commit

Permalink
fix(Dropdown): fix valueRenderer return type (#2642)
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Dec 17, 2024
1 parent 732b833 commit 87afb2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/components/Dropdown/Dropdown.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export interface DropdownComponentProps extends CustomMenuBaseProps, CustomOptio
/**
* custom value render function
*/
valueRenderer?: React.ReactNode;
valueRenderer?:
| React.ReactNode
| ((props: Omit<CustomSingleValueProps, "Renderer"> & DropdownOption) => React.ReactNode);
ValueRenderer?: React.ReactNode;
/**
* custom menu render function
Expand Down

0 comments on commit 87afb2d

Please sign in to comment.