BerkeleyTrue / react-material

Material design components written with React.js and React Style
http://berkeleytrue.github.io/react-material
404 stars 38 forks source link

Proposal for new file structure #101

Closed BerkeleyTrue closed 9 years ago

BerkeleyTrue commented 9 years ago

Current file structure is kinda funny. I propose:

|
|-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';

and without having to import the whole packages.