@map-colonies/shared-components
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

mc-react-components

This is a library contains react components for use by other apps. All the components are written using typescript. The project was bootstrapped using create-react-app, and modified to enable exporting of components.

Using the package

  • Run yarn run build. This will compile the src/lib folder, and copy all the other files into the dist folder.
  • Add the package as a dependency to your project.
  • Import the required component, and use it in your code.

Developing new components

  • Create a new folder for your component under src/lib.
  • Develop your component (you can use src/index.tsx with yarn start to help you in the process).
  • Import the component into src/lib/index.ts.
  • Rebuild the package using yarn run build.
  • Use the new component in different apps.

Readme

Keywords

none

Package Sidebar

Install

npm i @map-colonies/shared-components

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

122 kB

Total Files

152

Last publish

Collaborators

  • glata95
  • tropface
  • rannyeli
  • alebinson
  • shimoncohen
  • konchashlomicl
  • shahar_s
  • schnitz
  • asaf.masa
  • syncush
  • mapcolonies