Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ComposerPlanFollowUpBanner.tsx

28 lines783 Bytes

1import { memo } from "react";
2import { Badge } from "../ui/badge";
3​
4export const ComposerPlanFollowUpBanner = memo(function ComposerPlanFollowUpBanner({
5 planTitle,
6}: {
7 planTitle: string | null;
8}) {
9 return (
10 <div className="px-4 py-3.5 sm:px-5 sm:py-4">
11 <div className="flex flex-wrap items-center gap-2">
12 <Badge
13 variant="info"
14 size="sm"
15 className="rounded-md px-1.5 py-0 font-semibold tracking-wide uppercase"
16 >
17 Plan Ready
18 </Badge>
19 {planTitle ? (
20 <span className="min-w-0 flex-1 truncate text-sm font-medium">{planTitle}</span>
21 ) : null}
22 </div>
23 {/* <div className="mt-2 text-xs text-muted-foreground">
24 Review the plan
25 </div> */}
26 </div>
27 );
28});