index.tsx 234 B

123456
  1. import React from 'react';
  2. import { TreeNodeInterface } from '$app/interfaces';
  3. export default function PageBlock({ node }: { node: TreeNodeInterface }) {
  4. return <div className='cursor-pointer underline'>{node.data.title}</div>;
  5. }