/** * StatusField Component * * Displays a status label with a customizable color. This component is typically used * to indicate the status of a process or entity (e.g., success, error) within the application. * Includes a visual separator and supports dynamic text and color customization through props. */ import React from "react" import Separator from "./Separator" interface StatusFieldProps { label: string; statusLabel: string; statusColor: string; } const StatusField: React.FC = ({ label, statusLabel, statusColor }) => { return (

{label}

{/* Dynamically styled based on status */} {statusLabel}
) } export default StatusField