- 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
22 lines
350 B
TypeScript
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[];
|
|
} |