@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
13 lines (12 loc) • 471 B
TypeScript
/**
* Formats a display object from {@link unpackDisplayObjectFromWalletMessage} by
* recursing through the nested json object and formatting values based on
* formatting functions {@link formatSingleValue} and {@link formatCustomObj}
* that match keys and/or values to specific tests.
* @param displayObject object being rendered
*/
export declare const formatDisplayObject: ({ displayObject, }: {
displayObject: {
[key: string]: any;
};
}) => {};