Files
JChargePointProtocol/jcpp-web-ui/src/components/AppLogo.tsx
三丙 58580ca11e !45 !44 comment
* !44 comment
* !39 添加下行日志打印
* !36 扩展计价领域模型
* !35 webui 初步成型
* !34 webui 初步成型
2025-09-09 08:23:59 +00:00

36 lines
771 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 开源代码,仅供学习和交流研究使用,商用请联系三丙
* 微信mohan_88888
* 抖音:程序员三丙
* 付费课程知识星球https://t.zsxq.com/aKtXo
*/
import React from 'react';
import logo192 from '../assets/icons/logo192.svg';
interface AppLogoProps {
size?: number;
className?: string;
}
/**
* 应用Logo组件
* 使用新的麻将桌风格充电桩图标
*/
const AppLogo: React.FC<AppLogoProps> = ({ size = 48, className }) => {
return (
<img
src={logo192}
alt="JCPP充电桩管理系统"
width={size}
height={size}
className={className}
style={{
borderRadius: '8px',
boxShadow: '0 2px 8px rgba(0,0,0,0.1)'
}}
/>
);
};
export default AppLogo;