All files / src/features/MerchantPortal/Customer/Modals/components SubscriptionsEmptyState.tsx

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32          53x 6x 6x                                                
import { Stack } from "@mui/material";
import { ReceiptIcon } from "@phosphor-icons/react";
import { useAppTheme } from "theme/v2/Provider";
import GiveText from "shared/Text/GiveText";
 
export const SubscriptionsEmptyState = () => {
  const theme = useAppTheme();
  return (
    <Stack
      justifyContent="center"
      alignItems="center"
      height="168px"
      bgcolor={theme.palette.surface?.primary}
      gap="20px"
    >
      <Stack
        justifyContent="center"
        alignItems="center"
        borderRadius="23px"
        height="56px"
        width="56px"
        bgcolor={theme.palette.surface?.secondary}
      >
        <ReceiptIcon size={24} />
      </Stack>
      <GiveText variant="bodyS" color="secondary">
        This customer doesn’t have any subscriptions yet
      </GiveText>
    </Stack>
  );
};