feat: initial frontend commit

This commit is contained in:
nihonium 2025-10-09 14:40:21 +03:00
parent 6612ed6df6
commit e1cdb7af79
Signed by: nihonium
GPG key ID: 0251623741027CFC
18 changed files with 4146 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import React from "react";
import type { Item } from "../services/api";
interface ItemTemplateProps {
item: Item;
}
const ItemTemplate: React.FC<ItemTemplateProps> = ({ item }) => {
return (
<div className="item-card" style={{ border: "1px solid #ccc", padding: "1rem", marginBottom: "1rem" }}>
<h2>{item.title}</h2>
<p>{item.description}</p>
<small>ID: {item.id}</small>
</div>
);
};
export default ItemTemplate;