studiobakers / react-ui-toolkit

Bakers Studio's React-based UI Toolkit
MIT License
15 stars 2 forks source link

Cannot import `RadioInputItem` type #36

Closed edizcelik closed 3 years ago

edizcelik commented 4 years ago

When I try to use RadioInputItem, it imports it like the following:

import {RadioInputItem} from "@hipo/react-ui-toolkit/dist/form/input/radio/Radio";

However, this crushes the app with the following message:

Error: Cannot find module '@hipo/react-ui-toolkit/dist/form/input/radio/Radio'
at webpackMissingModule (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:3612:45)
at Module.<anonymous> (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:3612:170)
at Module../src/product/add/live-event/form/AddProductLiveEventForm.tsx (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:3792:30)
at __webpack_require__ (http://dylan.dev.mastermind.co:3000/main.bundle.js:854:30)
at fn (http://dylan.dev.mastermind.co:3000/main.bundle.js:151:20)
at Module.<anonymous> (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:3453:87)
at Module../src/product/add/live-event/AddProductLiveEventPage.tsx (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:3509:30)
at __webpack_require__ (http://dylan.dev.mastermind.co:3000/main.bundle.js:854:30)
at fn (http://dylan.dev.mastermind.co:3000/main.bundle.js:151:20)
at Module.<anonymous> (http://dylan.dev.mastermind.co:3000/product-flow.bundle.js:5197:98)