0

So I am trying to use the Errors component in my code, taken from https://davidkpiano.github.io/react-redux-form/docs/api/Errors.html

But VSCode is telling me that Errors is not defined, so I tried importing it like import { Errors } from 'reactstrap'; which makes the error go away but when running the website with yarn start I get "Attempted import error: 'Errors' is not exported from 'reactstrap'."

Any ideas?

1
  • 1
    reactstrap It has no component called Errors Commented Nov 2, 2020 at 22:03

1 Answer 1

1

Errors is provided in the react-redux-form package, so you need to import that module from the place where it's defined:

import { Errors } from 'react-redux-form';
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.