import React from "react";

const Test: React.FC<{ firstName: string; lastName: string; age: number }> = ({
  firstName,
  lastName,
  age,
}) => {
  return (
    <div>
      <span style={{ fontSize: 42, padding: 20, display: "block" }}>
        {firstName} {lastName}
      </span>{" "}
      is {age} years old!
    </div>
  );
};

export default Test;
