import type { ReactNode } from "react";

export type PolicyLockedHintProps = {
  children: ReactNode;
  className?: string;
};

export default function PolicyLockedHint({ children, className = "" }: PolicyLockedHintProps) {
  if (!children) return null;
  return <p className={`muted small-note policy-locked-hint ${className}`.trim()}>{children}</p>;
}
