shared components
[ wip ]
$ npm install
Create your component - MyComponent
/src
/components
/MyComponent
- MyComponent.scss
- MyComponent.spec.tsx
- index.tsx
- Readme.md
Import your component - index.tsx
/src
- index.ts
Import your component style - MyComponent.scss
/src
- index.scss
$ npm start
$ npm test
$ npm run build
- import your style-guide global sass file
@import '~shared-components/lib/main.scss';
- import
MyComponent
import { MyComponent } from 'shared-components';
- React
- Typescript
- SASS
- Styleguidist
- TSLint
- Jest
- React Testing Library
-- thank you --