UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

9 lines (8 loc) 332 B
import { jsx as _jsx } from "react/jsx-runtime"; import { GasMessage } from '../../components/GasMessage'; import { useRoutes } from '../../hooks'; export const MainGasMessage = (props) => { const { routes } = useRoutes(); const currentRoute = routes?.[0]; return _jsx(GasMessage, { route: currentRoute, ...props }); };