UNPKG

hunt-mint-swap

Version:

A React component library for swapping MINT / HUNT buildings

24 lines (18 loc) 694 B
import { JSX } from 'react/jsx-runtime'; export declare function HuntBuildingsModal({ isOpen, onClose, className, defaultType, onConnectButtonPressed, theme, }: { isOpen: boolean; onClose: () => void; className?: string; defaultType?: "mini" | "main"; onConnectButtonPressed?: () => void; theme?: HuntTheme; }): JSX.Element; declare type HuntTheme = "light" | "dark"; export declare function MintSwapModal({ className, isOpen, onClose, onConnectButtonPressed, }: SwapProps): JSX.Element; declare interface SwapProps { className?: string; isOpen: boolean; onClose: () => void; onConnectButtonPressed?: () => void; } export { }