doc: replace the printed value (#40847)

Co-authored-by: linercoder <linjunjie@realibox.com>
This commit is contained in:
linercoder 2023-02-21 17:59:18 +08:00 committed by GitHub
parent 7043cadab0
commit 1fdd45ef10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ const App: React.FC = () => {
const [current, setCurrent] = useState(0);
const onChange = (value: number) => {
console.log('onChange:', current);
console.log('onChange:', value);
setCurrent(value);
};
const description = 'This is a description.';