File size: 553 Bytes
9f131c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React from 'react';

interface TmaCardProps {
  title: string;
  description?: string;
  children: React.ReactNode;
}

export default function TmaCard({ title, description, children }: TmaCardProps) {
  return (
    <div className="bg-white rounded-xl shadow-sm border border-tg-border p-5 mb-4">
      <h3 className="text-lg font-bold text-tg-text mb-2">{title}</h3>
          {description && <p className="text-sm text-tg-textSecondary mb-4">{description}</p>}
      <div className="space-y-3">
        {children}
      </div>
    </div>
  );
}