mirror of
https://github.com/adiguno/hello-nemesis.git
synced 2026-07-22 12:00:28 +00:00
18 lines
329 B
TypeScript
18 lines
329 B
TypeScript
import * as React from "react";
|
|
|
|
type ExampleReactViewProps = {
|
|
contents: string[]
|
|
}
|
|
|
|
export const ExampleReactView = ({ contents }: ExampleReactViewProps) => {
|
|
return (
|
|
|
|
<div>
|
|
<h1>Hello My Nemesis</h1>
|
|
{contents.map((content, index) => {
|
|
return (<><div key={index}>{content}</div><br /></>)
|
|
})}
|
|
</div>
|
|
|
|
)
|
|
};
|