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
parent
commit
1fdd45ef10
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/steps/demo/clickable.tsx

2
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.';

Loading…
Cancel
Save