mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
doc: replace the printed value (#40847)
Co-authored-by: linercoder <linjunjie@realibox.com>
This commit is contained in:
parent
7043cadab0
commit
1fdd45ef10
@ -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…
Reference in New Issue
Block a user