Moves routes inside an _app for the header and builds a print route
This commit is contained in:
13
src/components/documents/location/LocationPrintRow.tsx
Normal file
13
src/components/documents/location/LocationPrintRow.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { Location } from "@/lib/types";
|
||||
|
||||
/**
|
||||
* Renders an print-friendly location row
|
||||
*/
|
||||
export const LocationPrintRow = ({ location }: { location: Location }) => {
|
||||
return (
|
||||
<li>
|
||||
<h4>{location.data.location.name}</h4>
|
||||
<p>{location.data.location.description}</p>
|
||||
</li>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user