Wrapper object to explicitly indicate base64 string content.
Use this interface to disambiguate base64 strings from URLs when the automatic detection might be ambiguous.
// Explicit base64 (no ambiguity)const source: ImportSource = { source: { base64: 'iVBORw0KGgoAAAANSUhEUgAAA...' }, type: 'png'}; Copy
// Explicit base64 (no ambiguity)const source: ImportSource = { source: { base64: 'iVBORw0KGgoAAAANSUhEUgAAA...' }, type: 'png'};
The base64 encoded string content
Wrapper object to explicitly indicate base64 string content.
Use this interface to disambiguate base64 strings from URLs when the automatic detection might be ambiguous.
Example