Skip to content

Simple TypeScript React component library example

License

Notifications You must be signed in to change notification settings

jmorozov/react-library-example

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published