samp-component-lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

react-component-lib

A universal component library

NPM JavaScript Style Guide

Installation in consumer (CRA) projects

npm install --save samp-component-lib
or
yarn add samp-component-lib

Example usage (CRA project)

import React, { Component } from 'react'

import {DoorSwtch} from 'samp-component-lib'
// import 'samp-component-lib/dist/index.css'

class Example extends Component {
  render() {
    return <DoorSwitch />
  }
}

Testing the library on consumer while developing

From library installed folder run

yarn link
yarn start

On consumer folder (Your front CRA project) run

yarn link samp-component-lib
yarn start

License

MIT © samparhizkar

Readme

Keywords

none

Package Sidebar

Install

npm i samp-component-lib

Weekly Downloads

1

Version

0.0.16

License

MIT

Unpacked Size

135 kB

Total Files

42

Last publish

Collaborators

  • samparhizkar88