jmorozov / react-library-example

Simple TypeScript React component library example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple TypeScript React component library example

License:MIT License


Languages

Language:TypeScript 52.1%Language:JavaScript 44.3%Language:CSS 3.6%