Skip to content

Commit

Permalink
Merge pull request #512 from Howell5/main
Browse files Browse the repository at this point in the history
feat(node-preview-header): add minimized2 icon for node-preview-header
  • Loading branch information
Howell5 authored Feb 16, 2025
1 parent c84fae9 commit 8bc9855
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Sparkles,
Wrench,
Maximize2,
Minimize2,
MoreHorizontal,
X,
Cpu,
Expand Down Expand Up @@ -258,7 +259,7 @@ export const NodePreviewHeader: FC<NodePreviewHeaderProps> = ({
className={`p-1.5 hover:bg-gray-100 ${isMaximized ? 'text-primary-600' : 'text-gray-500'}`}
onClick={() => onMaximize()}
>
<Maximize2 className="w-4 h-4" />
{isMaximized ? <Minimize2 className="w-4 h-4" /> : <Maximize2 className="w-4 h-4" />}
</Button>
)}
<Button
Expand Down

0 comments on commit 8bc9855

Please sign in to comment.