UNPKG

@metamask/design-system-react-native

Version:
24 lines 760 B
/** * A handy class to calculate color values and generate PNG images. * * @version 1.0.0 * @author Robert Eisele <robert@xarg.org> * @copyright Copyright (c) 2010, Robert Eisele * @see {@link http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/} * @license BSD-3-Clause */ /** * Utility class with the single responsibility * of caching Blockies Data URIs */ export declare class Blockies { static cache: Record<string, string>; } /** * Generate a Blockies data URL for a given address * * @param address The address to generate a Blockies for * @returns A data URL string containing the Blockies image */ export declare function toDataUrl(address: string): string; //# sourceMappingURL=Blockies.utilities.d.cts.map