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
|
<TargetIcon
|
||||||
strokeWidth={1.5}
|
strokeWidth={1.5}
|
||||||
className={className}
|
className={className}
|
||||||
style={{ color: iconColor }}
|
style={iconColor ? { color: iconColor } : {}}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue