Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sariskaio/sariska-annotation-sdk


https://github.com/sariskaio/sariska-annotation-sdk

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

Import Canvas Component to any file at the top of the element, over which you want to draw something.

```
Import {Canvas} from 'sariska-annotation-sdk';

const MyComponent=() => {
return(





)
}
```

You can replace the div element with any Image, Iframe, Slide or any other element.
You can pass following attributes for the Canvas:

```
width: number
height: number
color: string
lineWidth: number
zIndex: number
```