Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/romellogoodman/react-rune
- Owner: romellogoodman
- License: mit
- Created: 2020-12-29T02:44:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-14T13:23:09.000Z (almost 4 years ago)
- Last Synced: 2024-12-19T10:45:07.935Z (about 1 month ago)
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```