We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-jsonschema-form-theme-bs4
I think due to broken definition in package.json the import does not work, i.e.:
package.json
import Bootstrap4Theme from 'react-jsonschema-form-theme-bs4'
as it tries to resolve a "main": "index.js" as can be seen in docs
"main": "index.js"
Suggest replacing "main": "index.js" with "main": "src/index.js"
"main": "src/index.js"
The text was updated successfully, but these errors were encountered:
To my mind fix for this is important as import is mentioned in react-jsonschema-form docs. https://react-jsonschema-form.readthedocs.io/en/latest/theme-customization/#usage
import
react-jsonschema-form
import React, { Component } from 'react'; import { withTheme } from 'react-jsonschema-form'; import Bootstrap4Theme from 'react-jsonschema-form-theme-bs4'; const ThemedForm = withTheme(Bootstrap4Theme); class Demo extends Component { render() { return <ThemedForm schema={{...}} uiSchema={{...}} /> } }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I think due to broken definition in
package.json
the import does not work, i.e.:as it tries to resolve a
"main": "index.js"
as can be seen in docsSuggest replacing
"main": "index.js"
with"main": "src/index.js"
The text was updated successfully, but these errors were encountered: