Skip to content

Commit

Permalink
fix(Dropdown): simplify typings validation for renderLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fedyashov committed Apr 12, 2017
1 parent 16a48db commit 829bfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export interface DropdownProps {
* @param {object} defaultLabelProps - The default props for an active item Label.
* @returns {*} Shorthand for a Label.
*/
renderLabel?: (item: DropdownItemProps, index: number, defaultLabelProps: LabelProps) => React.ReactElement<any>;
renderLabel?: (item: DropdownItemProps, index: number, defaultLabelProps: LabelProps) => any;

/** A dropdown can have its menu scroll. */
scrolling?: boolean;
Expand Down

0 comments on commit 829bfdc

Please sign in to comment.