interface IErrorProps { errorText: string; error: boolean; confirmBtn: string; } const ErrorComponent: React.FC<IErrorProps> = ({ errorText, error, confirmBtn, }) => {return<></>}
interface IErrorProps { errorText: string; error: boolean; confirmBtn: string; } const ErrorComponent: React.FC<IErrorProps> = ({ errorText, error, confirmBtn, }) => {return<></>}