import {Card} from "@/components/ui/card"; import {Skeleton} from "@/components/ui/skeleton"; import {Customer} from "@/services/customers/entities/customer"; import React from "react"; type Props = { loading: boolean; customer: Customer | null; sections: React.ReactNode[]; }; export default function CustomerDetailContent({loading, customer, sections}: Readonly) { if (loading) { return (
); } if (!customer) { return (

Keine Kundendaten gefunden.

); } return (
{sections}
); }