MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / BaseAILogo

Function BaseAILogo

apps/baseai.dev/src/components/baseai-logo.tsx:3–42  ·  view source on GitHub ↗
({
	width = '30%',
	className
}: {
	width?: string;
	className?: string;
})

Source from the content-addressed store, hash-verified

1import { cn } from '@/lib/utils';
2
3export default function BaseAILogo({
4 width = '30%',
5 className
6}: {
7 width?: string;
8 className?: string;
9}) {
10 return (
11 <>
12 <img
13 alt="BaseAI"
14 src="https://raw.githubusercontent.com/LangbaseInc/docs-images/refs/heads/main/baseai/baseai-light-mode.png"
15 loading="lazy"
16 width={width}
17 style={{
18 height: 'auto',
19 color: 'transparent'
20 }}
21 className={cn(
22 'block max-w-full object-cover dark:hidden',
23 className
24 )}
25 />
26 <img
27 alt="BaseAI"
28 src="https://raw.githubusercontent.com/LangbaseInc/docs-images/refs/heads/main/baseai/baseai-logo.png"
29 loading="lazy"
30 width={width}
31 style={{
32 height: 'auto',
33 color: 'transparent'
34 }}
35 className={cn(
36 'hidden max-w-full object-cover dark:block',
37 className
38 )}
39 />
40 </>
41 );
42}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected