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.

26 lines 867 B
import { ListItemButton as MuiListItemButton, styled } from '@mui/material'; import { getContrastAlphaColor } from '../utils/colors.js'; export const ListItemButton = styled(MuiListItemButton)(({ theme }) => { const backgroundHoverColor = getContrastAlphaColor(theme, 0.04); return { borderRadius: theme.shape.borderRadius, paddingLeft: theme.spacing(1.5), height: 56, '&:hover': { backgroundColor: backgroundHoverColor, }, variants: [ { props: ({ disabled }) => disabled, style: { opacity: 0.5, cursor: 'auto', '&:hover': { backgroundColor: 'none', }, }, }, ], }; }); //# sourceMappingURL=ListItemButton.js.map