# react-comps

> Personal library of React components

Latest version **0.2.0** (published 2019-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-comps
pnpm add react-comps
yarn add react-comps
bun add react-comps
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2019-09-16 |
| First published | 2019-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 30.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | r4lfl4b |

## Links

- npm: https://www.npmjs.com/package/react-comps
- Homepage: https://github.com/r4lfl4b/react-comps
- npm.io page: https://npm.io/package/react-comps

## Dependencies (9)

- [prettier](https://npm.io/package/prettier.md) ^1.18.2
- [node-sass](https://npm.io/package/node-sass.md) ^4.12.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [react-popper](https://npm.io/package/react-popper.md) ^1.3.4
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.0.2
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ^4.0.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^6.0.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.1.0

## Recent versions

- 0.2.0 (latest) — 2019-09-16
- 0.1.8 — 2019-07-03
- 0.1.7 — 2019-07-03
- 0.1.6 — 2019-07-03
- 0.1.5 — 2019-06-26
- 0.1.4 — 2019-06-26
- 0.1.3 — 2019-06-26
- 0.1.2 — 2019-06-11
- 0.1.1 — 2019-06-11
- 0.1.0 — 2019-06-10

## README

# react-comps

Personal library of React components

## Usage

```
$ npm i react-comps
```

```jsx
import React from "react";
import ReactDOM from "react-dom";
import { Button } from "react-comps";
import LaunchIcon from "@material-ui/icons/Launch";

function App() {
  return (
    <Button size="sm" icon={LaunchIcon}>
      Button Small
    </Button>
  );
}

export default App;
```

## Development

To start the development server (with entry point `src/index.js`), run

```
$ npm start
```

## Storybook

To start the components explorer

```
$ npm run storybook
```

## Publish to npm

To transpile `src/lib` and create a build in the `dist` folder, run:

```
$ npm run build
```

To publish it to npm using:

```
$ npm publish
```

- Note that only README.md and the dist folders are published to npm.

## Thanks

Based on [this](https://github.com/aakashns/create-component-lib) project.

---
_Source: https://npm.io/package/react-comps · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
