Skip to content

Commit

Permalink
demo: typo of onChange func parameter on cascader basic example (#47427)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlaPaiva committed Feb 12, 2024
1 parent ae9e25f commit 8c9eea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cascader/demo/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const options: Option[] = [
},
];

const onChange = (value: string[]) => {
const onChange = (value: (string | number)[]) => {
console.log(value);
};

Expand Down

0 comments on commit 8c9eea3

Please sign in to comment.