Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1000 Bytes

README.md

File metadata and controls

64 lines (41 loc) · 1000 Bytes

My React Component

npm license downloads

My React component

Prerequisites

{
  "react": "*",
  "react-dom": "*"
}

Installation

Using NPM:

npm install my-react-component

or Yarn:

yarn add my-react-component

Usage

In your application root, first import the component styles:

import 'my-react-component/styles.css';

Then import the component in your code:

import MyComponent from 'my-react-component';


export default () => {
    return (
        <MyComponent />
    );
};

Demo

Clone the package and run yarn start

API

MyComponent

Description for MyComponent