react-library-example
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

react-library-example

Simple example of react library with typescript, rollup, jest, storybook, eslint and prettier

Install

npm i -s git+https://github.com/jmorozov/react-library-example.git

Usage

import * as React from 'react';
import 'react-library-example/dist/index.css';
import { ExampleComponent } from 'react-library-example';

class Example extends React.Component {
   render() {
      return <ExampleComponent text="Test" />;
   }
}

License

MIT © jmorozov

/react-library-example/

    Package Sidebar

    Install

    npm i react-library-example

    Weekly Downloads

    5

    Version

    1.0.10

    License

    MIT

    Unpacked Size

    33.6 kB

    Total Files

    13

    Last publish

    Collaborators

    • devs9-core