class AboutMe extends React.Component<{}, { name: string, gender: string, hobbies: string[], languages: string[] }> {
state = {
name: "Cool",
age: 21,
gender: "Male",
hobbies: ["Programming", "Photography", "Videography", "Swimming"],
languages: ["Swedish", "English", "German"],
from: "Sweden"
};
render() {
return (
<div>
<h1>About me</h1>
<p>
My name is {this.state.name} and I am a {this.state.age} years old {this.state.gender.toLowerCase()} coder from {this.state.from}.
Some of my hobbies include {this.state.hobbies.join(", ")}, and I speak {this.state.languages.join(", ")}.
</p>
</div>
)
}
}
front/back end developer.
c++,c#,react,typescript
- Sweden
-
03:13
(UTC +01:00)
Popular repositories Loading
-
-
SVG-Loaders
SVG-Loaders PublicForked from SamHerbert/SVG-Loaders
Loading icons and small animations built with pure SVG.
HTML 1
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.