import React, { useState } from 'react'; import { Button, Image, InputNumber } from 'antd'; const App: React.FC = () => { const [visible, setVisible] = useState(false); const [scaleStep, setScaleStep] = useState(0.5); return ( <>
scaleStep:{' '} setScaleStep(val!)} />

{ setVisible(value); }, }} /> ); }; export default App;