All files / src/features/Merchants/MerchantSidePanel/GiveMerchantFile/bankAccounts CustomGridContainer.tsx

100% Statements 3/3
100% Branches 2/2
100% Functions 2/2
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12      75x 377x 60x            
import { Grid } from "@mui/material";
import { styled } from "theme/v2/Provider";
 
export const CustomGridContainer = styled(Grid, {
  shouldForwardProp: (prop) => prop !== "highlight",
})<{ highlight: boolean }>(({ highlight, theme }) => ({
  display: "flex",
  alignItems: "center",
  justifyContent: "center",
  backgroundColor: highlight ? "inherit" : theme.palette.surface?.secondary,
}));