import type { Meta } from "@storybook/react"; import { CustomThemeProvider, useCustomTheme, } from "../react/core/design-system/CustomThemeProvider.js"; import { InAppWalletIcon } from "../react/web/ui/ConnectWallet/in-app-wallet-icon.js"; import { defaultAuthOptions } from "../react/web/wallets/shared/ConnectWalletSocialOptions.js"; import { inAppWallet } from "../wallets/in-app/web/in-app.js"; import type { AuthOption } from "../wallets/types.js"; import { storyClient } from "./utils.js"; const meta: Meta = { title: "Components/in-app-wallet-icon", decorators: [ (Story) => { return ( ); }, ], }; export default meta; function Variants() { const theme = useCustomTheme(); return (
); } export function LightTheme() { return ; } export function DarkTheme() { return ; } function ThemeSetup(props: { theme: "light" | "dark" }) { return ( ); } function Variant(props: { authOptions: AuthOption[] }) { return ( ); } function SectionTitle(props: { title: string }) { const theme = useCustomTheme(); return (

{props.title}

); }