mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
import React from 'react';
|
|
|
|
interface GreetingProps {
|
|
name: string;
|
|
}
|
|
|
|
const Greeting: React.FC<GreetingProps> = ({ name }) => {
|
|
return <h1>Hello, {name}!</h1>;
|
|
};
|
|
|
|
export default Greeting;
|