type Props = {
  warning: string | null | undefined;
};

export function CurrencyWarning({ warning }: Props) {
  if (!warning) return null;
  return <span className="psm-currency-warning">{warning}</span>;
}
