@openputer/canvas
v2.0.0-canary.ba4091c59419
Published
A tiny little drawing editor.
Readme
@openputer/canvas
This is the OpenPuter-published canvas package based on tldraw.
Installation
Install the @openputer/canvas package.
yarn add @openputer/canvas
# or
npm install @openputer/canvas
# or
pnpm i @openputer/canvasUsage
An extremely minimal usage (without our UI) might look like this:
import { Tldraw } from '@openputer/canvas'
import '@openputer/canvas/tldraw.css'
export default function () {
return <Tldraw />
}See the examples folder for more examples.
License
The source code in this repository (as well as our 2.0+ distributions and releases) are currently licensed under Apache-2.0. These licenses are subject to change in our upcoming 2.0 release. If you are planning to use tldraw in a commercial product, please reach out at [email protected].
