forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
386 B
13 lines
386 B
import React from 'react';
|
|
|
|
type PluginLogoProps = {
|
|
alt: string;
|
|
className?: string;
|
|
src: string;
|
|
height?: string | number;
|
|
};
|
|
|
|
export function PluginLogo({ alt, className, src, height }: PluginLogoProps): React.ReactElement {
|
|
// @ts-ignore - react doesn't know about loading attr.
|
|
return <img src={src} className={className} alt={alt} loading="lazy" height={height} />;
|
|
}
|
|
|