mirror of
https://dev.azure.com/tstanciu94/Packages/_git/standard-cv
synced 2025-08-10 18:32:25 +03:00
feat: add mock CV data and setup testing environment - Created a mock CV data file for testing purposes. - Added a setup file for testing with @testing-library/jest-dom. - Implemented a ThemeProvider component to manage themes and favicons. - Added unit tests for theme utility functions. - Replaced JavaScript theme constants with TypeScript constants. - Refactored theme hooks to TypeScript and improved favicon handling. - Removed deprecated JavaScript files and replaced them with TypeScript equivalents. - Introduced a new TypeScript types file for better type safety. - Set up TypeScript configuration files for the project. - Configured Vite for building and testing the project.
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
import React from "react";
|
|
import type { SectionProps, About as AboutType } from "../../types";
|
|
|
|
type AboutProps = SectionProps<AboutType>;
|
|
|
|
const About: React.FC<AboutProps> = ({ data }) => {
|
|
return <p className="justify-text">{data.content}</p>;
|
|
};
|
|
|
|
export default About;
|