mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 11:23:50 +00:00
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
import { projectLogoPath } from '../../api/constants';
|
|
|
|
interface ViewLogoProps {
|
|
name: string;
|
|
className: string;
|
|
}
|
|
|
|
export default function ViewLogo(props: ViewLogoProps) {
|
|
const { name, className } = props;
|
|
return <img src={`${projectLogoPath}/${name}`} className={className} />;
|
|
}
|