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.

8 lines 423 B
import { jsx as _jsx } from "react/jsx-runtime"; import ArrowBack from '@mui/icons-material/ArrowBack'; import { IconButton, useTheme } from '@mui/material'; export const BackButton = ({ onClick }) => { const theme = useTheme(); return (_jsx(IconButton, { size: "medium", edge: theme?.navigation?.edge ? 'start' : false, onClick: onClick, children: _jsx(ArrowBack, {}) })); }; //# sourceMappingURL=BackButton.js.map