import React from 'react'; interface InsufficientCreditsBannerProps { visible: boolean; onDismiss: () => void; } /** * Warning banner shown when the backend rejects a force-scan because the * merchant has run out of credits. Rendered as a warning (not an error) * since this is expected behavior. */ const InsufficientCreditsBanner = ({ visible, onDismiss, }: InsufficientCreditsBannerProps): JSX.Element | null => { if (!visible) return null; return (
You don't have enough credits
You don't have enough credits to run a scan right now. Top up your credits in Plans & Billing to run another scan.