@mocanvas/editor · type
type AssetCreate<A extends Asset = Asset> = {
id?: AssetId;
type: A["type"];
props: A["props"];
meta?: Partial<A["meta"]>;
}An asset to create: id and meta are optional, props must be complete.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.