mirror of
https://github.com/adiguno/hello-nemesis.git
synced 2026-07-22 05:37:31 +00:00
21 lines
397 B
TypeScript
21 lines
397 B
TypeScript
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 (
|
|
<div key={index}>
|
|
<p>{content}</p>
|
|
</div>
|
|
);
|
|
})}
|
|
</div>
|
|
);
|
|
};
|