Files
zhaoguiyang.site/src/types/components.ts
joyzhao ea01dc6dd8 refactor: reorganize project structure and improve type definitions
- Split types into separate modules for better organization
- Move data files to dedicated directories with proper documentation
- Enhance i18n utilities with better type safety and performance
- Maintain backward compatibility with legacy imports
2025-06-21 09:18:39 +08:00

22 lines
350 B
TypeScript

/**
* Component types module
* Contains type definitions for UI components
*/
import type { Lang } from './i18n';
/**
* Skill item interface
*/
export interface SkillItem {
name: string;
icon: string;
color: string;
}
/**
* Skill section component props
*/
export interface SkillSectionProps {
title: string;
skills: SkillItem[];
}