Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/romellogoodman/react-rune

React wrapper for Rune.js
https://github.com/romellogoodman/react-rune

Last synced: about 17 hours ago
JSON representation

React wrapper for Rune.js

Awesome Lists containing this project

README

        

# react-rune

[![npm version](https://badge.fury.io/js/react-rune.svg)](https://badge.fury.io/js/react-rune)

React wrapper for [Rune.js](https://runemadsen.github.io/rune.js/index.html)

### Install

```
npm i react-rune
```

### Use

```js
import React from 'react';
import Rune from 'react-rune';

const FooBar = () => {
const draw = (rune) => {
rune.rect(0, 0, 200, 200).fill(0, 0, 255);
};

return (
<>




<>
);
};

export default FooBar
```