You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in ./~/css-loader?importLoaders=1!./~/postcss-loader!./~/react-toolbox/lib/button/theme.css
Module build failed: Error: composition is only allowed when selector is single :local class name not in ".raised", ".raised" is weird
at /Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss-modules-scope/lib/index.js:26:13
at Array.map (native)
at getSingleLocalNamesForComposes (/Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss-modules-scope/lib/index.js:20:26)
at /Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss-modules-scope/lib/index.js:106:26
at /Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss/lib/container.js:198:28
at /Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss/lib/container.js:148:26
at Rule.each (/Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss/lib/container.js:114:22)
at Rule.walk (/Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss/lib/container.js:147:21)
at Rule.walkDecls (/Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss/lib/container.js:196:25)
at /Users/karl/Documents/apps/modules/react-select-input/node_modules/postcss-modules-scope/lib/index.js:105:12
@ ./~/react-toolbox/lib/button/theme.css 4:14-120 13:2-17:4 14:20-126
The text was updated successfully, but these errors were encountered:
It seems to me the issue is because how you import the module with the create-react-app. For example, to import Button:
Instead, import { Button } from 'react-toolbox';
Try, import Button from 'react-toolbox/lib/button/Button';
When trying the "http://react-toolbox.com/#/components/layout" example in create-react-app application I get the following error:
The text was updated successfully, but these errors were encountered: