feat[headerComponent]: Add api icon on header

This commit is contained in:
igorrCarvalho 2023-08-16 16:15:43 -03:00
commit 5202e1348a
3 changed files with 10 additions and 2 deletions

View file

@ -9,7 +9,7 @@ const ForwardedIconComponent = forwardRef(
<TargetIcon <TargetIcon
strokeWidth={1.5} strokeWidth={1.5}
className={className} className={className}
style={{ color: iconColor }} style={iconColor ? { color: iconColor } : {}}
ref={ref} ref={ref}
/> />
); );

View file

@ -146,6 +146,12 @@ export default function Header() {
/> />
</div> </div>
</AlertDropdown> </AlertDropdown>
<button>
<IconComponent
name="Key"
className="side-bar-button-size text-muted-foreground hover:text-accent-foreground"
/>
</button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -72,6 +72,7 @@ import {
X, X,
XCircle, XCircle,
Zap, Zap,
Key
} from "lucide-react"; } from "lucide-react";
import { FaApple, FaGithub } from "react-icons/fa"; import { FaApple, FaGithub } from "react-icons/fa";
import { AirbyteIcon } from "../icons/Airbyte"; import { AirbyteIcon } from "../icons/Airbyte";
@ -294,5 +295,6 @@ export const nodeIconsLucide = {
FaApple, FaApple,
EyeOff, EyeOff,
Eye, Eye,
UserCog2 UserCog2,
Key,
}; };