Skip to content

Commit

Permalink
fix: fix cascader onChange type (#236)
Browse files Browse the repository at this point in the history
* fix: fix cascader onChange type

* chore: code clean
  • Loading branch information
MadCcc authored Jan 13, 2022
1 parent 9f9fc20 commit fa28349
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Cascader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOptionTyp
value?: ValueType;
defaultValue?: ValueType;
changeOnSelect?: boolean;
onChange?: (value: ValueType, selectedOptions?: OptionType[] | OptionType[][]) => void;
displayRender?: (label: string[], selectedOptions?: OptionType[]) => React.ReactNode;
checkable?: boolean | React.ReactNode;

Expand Down

1 comment on commit fa28349

@vercel
Copy link

@vercel vercel bot commented on fa28349 Jan 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.