@web3-onboard/react
Version:
A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported w
6 lines (5 loc) • 309 B
TypeScript
import type { CustomNotification, Notify, UpdateNotification, Notification } from '@web3-onboard/core';
export declare const useNotifications: () => [Notification[], (updatedNotification: CustomNotification) => {
dismiss: () => void;
update: UpdateNotification;
}, (update: Partial<Notify>) => void];