Files
noahspan-flying/client/src/components/pilotCard/PilotCard.tsx
2026-01-11 10:51:28 -06:00

26 lines
835 B
TypeScript

// import { Card, CardActions, CardBody, CardHeader} from "@noahspan/noahspan-components"
// import { PilotCardProps } from "./PilotCardProps.interface"
// import ActionMenu from "../actionMenu/ActionMenu"
// const PilotCard = ({ pilots, onDelete, onOpenCloseForm }: PilotCardProps) => {
// return (
// <div>
// {pilots.map((pilot) => {
// return (
// <div>
// <Card key={pilot.id}>
// <CardBody>
// <CardHeader>{pilot.name}</CardHeader>
// <CardActions>
// <ActionMenu id={pilot.id} onDelete={onDelete} onOpenCloseForm={onOpenCloseForm} />
// </CardActions>
// </CardBody>
// </Card>
// </div>
// )
// })}
// </div>
// )
// }
// export default PilotCard;