feat[headerComponent]: Add api icon on header
This commit is contained in:
parent
ed6ae4b380
commit
5202e1348a
3 changed files with 10 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ const ForwardedIconComponent = forwardRef(
|
|||
<TargetIcon
|
||||
strokeWidth={1.5}
|
||||
className={className}
|
||||
style={{ color: iconColor }}
|
||||
style={iconColor ? { color: iconColor } : {}}
|
||||
ref={ref}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -146,6 +146,12 @@ export default function Header() {
|
|||
/>
|
||||
</div>
|
||||
</AlertDropdown>
|
||||
<button>
|
||||
<IconComponent
|
||||
name="Key"
|
||||
className="side-bar-button-size text-muted-foreground hover:text-accent-foreground"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ import {
|
|||
X,
|
||||
XCircle,
|
||||
Zap,
|
||||
Key
|
||||
} from "lucide-react";
|
||||
import { FaApple, FaGithub } from "react-icons/fa";
|
||||
import { AirbyteIcon } from "../icons/Airbyte";
|
||||
|
|
@ -294,5 +295,6 @@ export const nodeIconsLucide = {
|
|||
FaApple,
|
||||
EyeOff,
|
||||
Eye,
|
||||
UserCog2
|
||||
UserCog2,
|
||||
Key,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue