adiguno_hello-nemesis/NemesisRightReactView.tsx

22 lines
397 B
TypeScript
Raw Permalink Normal View History

2025-02-01 08:57:33 +00:00
import * as React from "react";
type ExampleReactViewProps = {
contents: string[];
};
// todo make text selectable or copyable
export const NemesisRightReactView = ({ contents }: ExampleReactViewProps) => {
return (
<div>
<h1>Hello My Nemesis</h1>
{contents.map((content, index) => {
return (
2025-02-20 11:13:44 +00:00
<div key={index}>
<p>{content}</p>
</div>
2025-02-01 08:57:33 +00:00
);
})}
</div>
);
};