Skip to main content
Module

x/fastro/pages/user.tsx

Fast and simple web application framework for deno
Go to Latest
File
import React from "https://esm.sh/react@18.2.0";
// you can access injected props from server directlyconst User = (props: { data: string }) => ( <div className="row align-items-center" style={{ height: "100vh" }}> <div className="mx-auto col-3"> <h1> <a href={props.data + "/app"}>Hello {props.data}</a> </h1> </div> </div>);
export default User;