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