Installation
To install the React SDK, run the following command:
npm install @zeek-wallet/react
Usage
To use the React SDK, import it into your React application:
import { ZeekProvider } from '@zeek-wallet/react';
function App() {
return (
<ZeekProvider clientId="YOUR-CLIENT-ID">
{/* Your app components */}
</ZeekProvider>
);
}
To further configure the SDK, the ZeekProvider accepts two optionals props: theme and loginMethods.
Login methods such as google and x must be configured inside the zeek dashboard before they can be used.