19 lines
382 B
TypeScript
19 lines
382 B
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import type { ReactNode } from "react";
|
|
|
|
interface IProps {
|
|
children: ReactNode;
|
|
startDate?: Date;
|
|
startTime?: { hour: number; minute: number };
|
|
}
|
|
|
|
export function AddEventDialog({ children }: IProps) {
|
|
return (
|
|
<Link href="/dashboard/crm/activities" aria-label="Create related Activity">
|
|
{children}
|
|
</Link>
|
|
);
|
|
}
|