@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
75 lines • 2.66 kB
JavaScript
var _div;
import React from 'react';
import { Icon } from '@iconify/react';
import { useMediaQuery, useTheme, Grid, Stack } from '@mui/material';
import { consts } from '../../../helpers/consts';
import { CardFlexible } from '../../../organisms/CardFlexible';
import { BoxContainer } from '../../../organisms/BoxContainer';
import { IconButtonComponent } from '../../../components/IconButtonComponent';
import { TextForLinesOutput } from '../../../components/TextForLinesOutput';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export var Card = function Card() {
var theme = useTheme();
var isMqLg = useMediaQuery(theme.breakpoints.down('lg'));
return /*#__PURE__*/_jsx(CardFlexible, {
padding: "15px 0px 15px 15px",
shadow: isMqLg ? consts.boxShadowStyle : 'none',
border: "1px solid ".concat(theme.palette.background.paper),
children: /*#__PURE__*/_jsxs(Grid, {
container: true,
direction: "row",
columnGap: "10px",
flexWrap: "nowrap",
children: [/*#__PURE__*/_jsx(Grid, {
item: true,
children: /*#__PURE__*/_jsx(BoxContainer, {
sx: {
borderRadius: '5px',
backgroundColor: 'rgba(76, 96, 219, 0.5)',
width: '44px',
height: '44px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: /*#__PURE__*/_jsx(Icon, {
icon: "fluent:building-bank-24-regular",
color: theme.palette.primary.main,
width: "30",
height: "30"
})
})
}), /*#__PURE__*/_jsx(Grid, {
item: true,
xs: true,
children: /*#__PURE__*/_jsxs(Stack, {
rowGap: "2px",
children: [_div || (_div = /*#__PURE__*/_jsx("div", {
children: /*#__PURE__*/_jsx(TextForLinesOutput, {
clines: 1,
text: "Pagar con Banco",
fontSize: "16px",
fontWeight: "500"
})
})), /*#__PURE__*/_jsx("div", {
children: /*#__PURE__*/_jsx(TextForLinesOutput, {
color: theme.palette.text.secondary,
clines: 2,
text: "1 a 2 minutos - 0.5% comision",
fontSize: "14px",
fontWeight: "500"
})
})]
})
}), /*#__PURE__*/_jsx(Grid, {
item: true,
children: /*#__PURE__*/_jsx(IconButtonComponent, {
children: /*#__PURE__*/_jsx(Icon, {
icon: "charm:chevron-right",
color: theme.palette.text.secondary
})
})
})]
})
});
};