Files
copilotkit__copilotkit/docs/components/react/signup-section.tsx
2026-02-13 11:01:44 +01:00

29 lines
759 B
TypeScript

"use client";
import { useState } from "react";
import { V150EarlyAccessModal } from "@/components/layout/v150-early-access-modal";
export function SignUpSection() {
const [isModalOpen, setIsModalOpen] = useState(false);
return (
<>
<p className="text-muted-foreground">
Want to be the first to know about new features?{" "}
<button
onClick={() => setIsModalOpen(true)}
className="text-primary hover:underline font-medium cursor-pointer bg-transparent border-none p-0"
>
Sign up for early access
</button>{" "}
to upcoming releases.
</p>
<V150EarlyAccessModal
isOpen={isModalOpen}
onClose={() => setIsModalOpen(false)}
/>
</>
);
}