Browse Source
doc: replace the printed value (#40847)
Co-authored-by: linercoder <linjunjie@realibox.com>
pull/40859/head
linercoder
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/steps/demo/clickable.tsx
|
|
@ -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.'; |
|
|
|