Public function

Signature
function dataUrlToFile(
  url: string,
  filename: string,
  mimeType: string
): Promise<File>
Parameters
NameDescription

url

string

filename

string

mimeType

string
Returns
Promise<File>
Source

packages/editor/src/lib/utils/assets.ts

CubicSpline2dDefaultBackground