Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/taitems/react-konva-helpers


https://github.com/taitems/react-konva-helpers

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# react-konva-helpers

## ``
Apply a circular mask to an image.
Use how you would a normal image, first you must use-image.

```javascript
import { CircleImage } from "react-konva-helpers";
import useImage from 'use-image';
const [src] = useImage('path/to/file');

// Inside etc.

//

```
## ``
Use an SVG like an icon font. Provide the raw XML and a fill color.

```javascript
import { SvgIcon } from "react-konva-helpers";
const GithubForkIcon = ` etc.

//

```