Files
ospab.host/ospabhost/frontend/src/pages/dashboard/tickets.tsx

20 lines
619 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import React from 'react';
interface TicketsProps {
tickets: unknown[];
}
const Tickets: React.FC<TicketsProps> = ({ tickets }) => {
return (
<div className="p-8 bg-white rounded-3xl shadow-xl">
<h2 className="text-3xl font-bold text-gray-800 mb-6">Тикеты поддержки</h2>
{tickets.length === 0 ? (
<p className="text-lg text-gray-500">У вас пока нет открытых тикетов.</p>
) : (
<p className="text-lg text-gray-500">Список ваших тикетов будет здесь...</p>
)}
</div>
);
};
export default Tickets;