JSPM

babylon-react

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29484F
  • License MIT

The best way to connect a wallet

Package Exports

  • babylon-react
  • babylon-react/styles.css
  • babylon-react/wallets

Readme

Overview

Usage

import { BabylonConnectButton, BabylonProviders } from 'babylon-react';

export default function HomePage() {
  return (
    <BabylonProviders>
      <main className="flex min-h-screen flex-col items-center justify-center p-24">
        <h1 className="text-4xl font-bold mb-4">Welcome to My App</h1>
        <p className="text-gray-600">Get started by editing this page</p>
        <BabylonConnectButton>Connect Wallet</BabylonConnectButton>
      </main>
    </BabylonProviders>
  );
}