14 lines
289 B
TypeScript
14 lines
289 B
TypeScript
import type { Location } from "@/lib/types";
|
|
|
|
/**
|
|
* Renders an print-friendly location row
|
|
*/
|
|
export const LocationPrintRow = ({ location }: { location: Location }) => {
|
|
return (
|
|
<div>
|
|
<h4>{location.data.name}</h4>
|
|
<p>{location.data.description}</p>
|
|
</div>
|
|
);
|
|
};
|