
import React from "react";
import { Label } from "@/components/ui/label";
import { Input } from "@/components/ui/input";

interface ProjectDeliveryTimeProps {
  deliveryTime: string;
  onDeliveryTimeChange: (value: string) => void;
}

const ProjectDeliveryTime = ({ deliveryTime, onDeliveryTimeChange }: ProjectDeliveryTimeProps) => {
  return (
    <div>
      <Label htmlFor="delivery_time">Temps de livraison *</Label>
      <Input
        id="delivery_time"
        placeholder="ex: 24h, 48h, 72h"
        value={deliveryTime}
        onChange={(e) => onDeliveryTimeChange(e.target.value)}
        required
      />
    </div>
  );
};

export default ProjectDeliveryTime;
