import React, { useState, useEffect } from 'react';
interface WelcomeProps {
message: string;
}
const WelcomeComponent: REACT.FC<WelcomeProps> = ({ message }) => {
const [loading, setLoading] = useState<boolean>(true);
return (
<div className=“p-4 bg-gray-100 rounded shadow“>
<h1 className=“text-2xl font-bold“>
{ loading ? (
<p>Loading...<p/>
) : (
<div className=“mt-4“>
<h2 className=“text-xl“>
{message}
<h2/>
<div/>
)}
<div/>
);
};
export default WelcomeComponent;
interface WelcomeProps {
message: string;
}
const WelcomeComponent: REACT.FC<WelcomeProps> = ({ message }) => {
const [loading, setLoading] = useState<boolean>(true);
return (
<div className=“p-4 bg-gray-100 rounded shadow“>
<h1 className=“text-2xl font-bold“>
{ loading ? (
<p>Loading...<p/>
) : (
<div className=“mt-4“>
<h2 className=“text-xl“>
{message}
<h2/>
<div/>
)}
<div/>
);
};
export default WelcomeComponent;
My Stack
Upgrading everyday
Recent Graduate
Stevens Institute of Technology
Open to relocation across United States
Looking for Opportunities
Available Immediately
Badge 1 of 3
Badge 2 of 3
Badge 3 of 3
Some Certificates
A small selection of Recent Projects