Function
BaseAILogo
({
width = '30%',
className
}: {
width?: string;
className?: string;
})
Source from the content-addressed store, hash-verified
| 1 | import { cn } from '@/lib/utils'; |
| 2 | |
| 3 | export 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
Tested by
no test coverage detected