|
|-src
|--styles
|--components (generated icon jsx files live here with the rest of the components
|-icons(html files)
|-lib (npm would look for files here)
|-docs
This would allows user to do:
import button from 'react-material/lib/button';
instead of
import button from 'react-material/components/src/button';
Current file structure is kinda funny. I propose:
This would allows user to do:
instead of
and without having to import the whole packages.