@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
17 lines • 523 B
text/typescript
import type { ComponentOrElement, InterfaceContext } from "../index.mjs";
/**
* The request parameters for the `snap_createInterface` method.
*
* @property id - The interface id.
* @property ui - The components to display in the interface.
*/
export type UpdateInterfaceParams = {
id: string;
ui: ComponentOrElement;
context?: InterfaceContext;
};
/**
* The result returned by the `snap_updateInterface` method.
*/
export type UpdateInterfaceResult = null;
//# sourceMappingURL=update-interface.d.mts.map