While I was in the <Errors /> component, I loosed up the interface from only accepting string to any for errors and additionalErrors. This lets users drop anything they want into this component and use renderError?: (error: any) => React.ReactElement<{}>; to render them appropriately.
Fixes #94, #93, #95.
While I was in the
<Errors />
component, I loosed up the interface from only acceptingstring
toany
forerrors
andadditionalErrors
. This lets users drop anything they want into this component and userenderError?: (error: any) => React.ReactElement<{}>;
to render them appropriately.Yea, this probably should have been two PRs 😁