19 lines
461 B
TypeScript
19 lines
461 B
TypeScript
|
import HelloWorld from "@duogeeks/hello-world";
|
||
|
import { Link } from "@remix-run/react";
|
||
|
import config from "~/config";
|
||
|
|
||
|
export default function A(props) {
|
||
|
return (
|
||
|
<div>
|
||
|
<h1>A</h1>
|
||
|
{config.description}
|
||
|
<p>
|
||
|
This is the A route. It is a function component that returns a div with
|
||
|
an h1 and a paragraph.
|
||
|
</p>
|
||
|
<Link to="/b">Go to B</Link> / <Link to="/">Go to index</Link>
|
||
|
<HelloWorld />
|
||
|
</div>
|
||
|
);
|
||
|
}
|