Я подаю заявку на использование ioni c с реакцией в typeScript, и мне нужно импортировать этот модуль 'act-проверочный код-ввод-ввод' из реакции, но при попытке его использовать я получаю эту ошибку.
import React, { Component } from 'react';
import ReactCodeInput from 'react-verification-code-input';
class VerificationField extends Component {
render() {
return <ReactCodeInput/>;
}
}
const VerificationCode: React.FC = () => {
return (
<VerificationField />
);
};
export default VerificationCode; ```
JSX element type 'ReactCodeInput' does not have any construct or call signatures.I get this error on the return of the classVerificationFiel.