import React, { ReactNode } from "react"; export type Props = { children?: ReactNode | undefined; title: string; draggable?: boolean; footer?: ReactNode | undefined; }; export default function Card({ title, draggable, children, footer }: Props) { return (

{title}

{children}
{footer && (
{footer}
)}
); }