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 | import { Text } from "@common/Text";
import NiceModal from "@ebay/nice-modal-react";
import { palette } from "@palette";
import { UnderwritingPopupBase } from "./ApproveMerchantPopup";
type SuspendMerchantProps = {
handleSuspend: () => void;
};
const SuspendMerchantModal = NiceModal.create(
({ handleSuspend }: SuspendMerchantProps) => {
return (
<UnderwritingPopupBase
modalTitle="Suspend account?"
submitLabel="Temporarily Suspend"
handleSubmit={handleSuspend}
primaryButtonBackground={palette.filled.red}
>
<Text fontSize={14} color={palette.neutral[80]} mt={2}>
Suspending an account will block its{" "}
<span style={{ fontWeight: "700" }}>processing</span> and ability to{" "}
<span style={{ fontWeight: "700" }}>send money.</span>
</Text>
</UnderwritingPopupBase>
);
},
);
export default SuspendMerchantModal;
|