# @ohtomi/react-whiteboard

> A whiteboard React component using SVG

Latest version **0.1.2** (published 2019-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ohtomi/react-whiteboard
pnpm add @ohtomi/react-whiteboard
yarn add @ohtomi/react-whiteboard
bun add @ohtomi/react-whiteboard
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2019-03-26 |
| First published | 2017-08-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 113.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 38 |
| Author | Kenichi Ohtomi |
| Maintainers | ohtomi |
| Keywords | react, svg, whiteboard |

## Links

- npm: https://www.npmjs.com/package/@ohtomi/react-whiteboard
- Repository: https://github.com/ohtomi/react-whiteboard
- Issues: https://github.com/ohtomi/react-whiteboard/issues
- npm.io page: https://npm.io/package/@ohtomi/react-whiteboard

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2019-03-26
- 0.1.1 — 2017-10-06
- 0.1.0 — 2017-08-06

## README

# react-whiteboard

[![npm](https://img.shields.io/npm/v/@ohtomi/react-whiteboard.svg)](https://www.npmjs.com/package/@ohtomi/react-whiteboard)
[![License](https://img.shields.io/npm/l/@ohtomi/react-whiteboard.svg)](LICENSE)
[![Build Status](https://travis-ci.org/ohtomi/react-whiteboard.svg?branch=master)](https://travis-ci.org/ohtomi/react-whiteboard)
[![Greenkeeper badge](https://badges.greenkeeper.io/ohtomi/react-whiteboard.svg)](https://greenkeeper.io/)

## Description

A whiteboard `React` component using `SVG`.

## How to use

```javascript
render() {
    return (
        <Whiteboard
            events={new EventStream()} eventStore={new EventStore()}
            width={800} height={600}
            style={{backgroundColor: 'lightyellow'}}
        />
    );
}
```

See [examples](stories).

## How to build

```bash
$ npm install
$ npm run build
```

## Contributing

1. Fork it!
1. Create your feature branch: `git checkout -b my-new-feature`
1. Commit your changes: `git commit -am 'Add some feature'`
1. Push to the branch: `git push origin my-new-feature`
1. Submit a pull request :D

## License

MIT

## Author

[Kenichi Ohtomi](https://github.com/ohtomi)

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