diff --git a/examples/start-tailwind/src/app.tsx b/examples/start-tailwind/src/app.tsx index c90d41f..0d4cad8 100644 --- a/examples/start-tailwind/src/app.tsx +++ b/examples/start-tailwind/src/app.tsx @@ -5,9 +5,21 @@ import { Router } from "@solidjs/router" import { FileRoutes } from "@solidjs/start/router" import { Suspense } from "solid-js" import { WalletProvider } from "@solana-wallets-solid/solid" +import { UnifiedWalletProviderProps, UnifiedWalletButtonProps } from "@solana-wallets-solid/unified" import Nav from "~/components/Nav" +declare module "solid-js" { + namespace JSX { + interface IntrinsicElements { + "unified-wallet-modal": UnifiedWalletProviderProps + } + interface IntrinsicElements { + "unified-wallet-modal-button": UnifiedWalletButtonProps + } + } +} + export default function App() { // const adapters = [ // new CoinbaseWalletAdapter(), @@ -39,23 +51,7 @@ export default function App() { localStorageKey="unified:wallet-stoarge-key" env="devnet" > - +