Skip to content

Commit 37294b4

Browse files
authored
Merge pull request GCWing#630 from GCWing/fix/nav-footer-browser-insights-menu
feat(web-ui): refine TodoWrite card and compact header action
2 parents 67b7b66 + 76e9f85 commit 37294b4

3 files changed

Lines changed: 276 additions & 347 deletions

File tree

src/web-ui/src/flow_chat/tool-cards/CompactToolCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ export interface CompactToolCardHeaderProps {
104104
onAffordanceClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
105105
/** Whether to show the left icon divider (default false for compact) */
106106
showDivider?: boolean;
107-
/** Action text */
108-
action?: string;
107+
/** Action label (text or inline markup) */
108+
action?: ReactNode;
109109
/** Main content */
110110
content?: ReactNode;
111111
/** Right extra content (e.g., statistics) */

0 commit comments

Comments
 (0)