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
Convert Alternative to code when exported, likely via a useState()?
useState()
Context: I am trying to use an existing Grommet (attached) project and use it as a starting point to develop locally.
I started with a grommet designer design that used Alternative.
I followed the instructions: • install nodejs, npm, yarn, and create-react-app (if needed) • # npx create-react-app my-app • # cd my-app • # yarn add styled-components https://github.com/grommet/grommet/tarball/stablehttps://github.com/grommet/grommet-icons/tarball/stable https://github.com/grommet/grommet-theme-hpe/tarball/NEXT-stable • replace the contents of src/App.js with the text below • # yarn start I get the following error in React: ./src/App.js Attempted import error: 'Alternative' is not exported from 'grommet'.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Convert Alternative to code when exported, likely via a
useState()
?Context:
I am trying to use an existing Grommet (attached) project and use it as a starting point to develop locally.
I started with a grommet designer design that used Alternative.
I followed the instructions:
• install nodejs, npm, yarn, and create-react-app (if needed)
• # npx create-react-app my-app
• # cd my-app
• # yarn add styled-components https://github.com/grommet/grommet/tarball/stablehttps://github.com/grommet/grommet-icons/tarball/stable https://github.com/grommet/grommet-theme-hpe/tarball/NEXT-stable
• replace the contents of src/App.js with the text below
• # yarn start
I get the following error in React:
./src/App.js
Attempted import error: 'Alternative' is not exported from 'grommet'.
The text was updated successfully, but these errors were encountered: