Formik's handleChange expects to be called with a React.ChangeEvent . Since the onValueChange of the Switch component will just be invoked with a boolean ...
確定! 回上一頁