Open History to see the last commit
1import { memo } from "react";
2
3export const ComposerPlanFollowUpBanner = memo(function ComposerPlanFollowUpBanner({
4 planTitle,
5}: {
6 planTitle: string | null;
7}) {
8 return (
9 <div className="px-4 py-3.5 sm:px-5 sm:py-4">
10 <div className="flex flex-wrap items-center gap-2">
11 <span className="uppercase text-sm tracking-[0.2em]">Plan ready</span>
12 {planTitle ? (
13 <span className="min-w-0 flex-1 truncate text-sm font-medium">{planTitle}</span>
14 ) : null}
15 </div>
16 {/* <div className="mt-2 text-xs text-muted-foreground">
17 Review the plan
18 </div> */}
19 </div>
20 );
21});