import React from 'react'; import { cn } from '@/utils'; interface TestComponentProps { title: string; className?: string; } const TestComponent: React.FC = ({ title, className }) => { return (

{title}

这是一个测试组件,用于验证路径别名 @/ 是否正常工作。

✓ 成功使用 @/utils 导入工具函数
); }; export default TestComponent;