// SkillBar.tsx import React from 'react'; import { useTranslation } from 'react-i18next'; import { motion } from 'framer-motion'; interface SkillBarProps { name: string; level: number; className?: string; 'aria-label'?: string; } const SkillBar: React.FC = ({ name, level, className = '', 'aria-label': ariaLabel }) => { const { t } = useTranslation(); return (
{name} {level}%
); }; export default SkillBar;