import type React from 'react'; import { m } from 'framer-motion'; import Draggable from 'react-draggable'; export interface CardProps { className?: string; title?: string; actions?: React.ReactNode; children: React.ReactNode; border?: boolean; draggable?: boolean; } export const Card = ({ className, title, actions, draggable, border, children, }: CardProps): JSX.Element => { return (
{(title || actions) && (
{title}
{actions}
)} {children}
); };