This commit is contained in:
guanghechen 2024-07-10 16:34:28 +08:00
parent cfa6efc6ed
commit 94d944bd68
25 changed files with 131 additions and 118 deletions

View file

@ -2,7 +2,7 @@ import React from "react";
import Image from "next/image";
import { ReactMarkdown } from "@/components/Markdown";
interface ContextItemProps {
interface ContextItemProperties {
item: {
name: string;
url: string;
@ -16,7 +16,7 @@ interface ContextItemProps {
};
}
const ContextItem: React.FC<ContextItemProps> = ({ item }) => {
const ContextItem: React.FC<ContextItemProperties> = ({ item }) => {
return (
<div className="border p-4 rounded-lg mb-4 dark:border-gray-700">
<h4 className="font-bold text-black dark:text-white">{item.name}</h4>