+
ItemList
+
+ {items.map((item) => (
+
= 500 ? styles.over500 : undefined}>
+
名前:{item.name}
+
{item.price}円
+ {item.price >= 10000 &&
高額商品
}
+
+ ))}
+
+
+
+
+
+
+
+ )
+}
diff --git a/docs/chapter1/dicts/react/src/1/ItemListInit.tsx b/docs/chapter1/dicts/react/src/1/ItemListInit.tsx
new file mode 100644
index 00000000..54addf98
--- /dev/null
+++ b/docs/chapter1/dicts/react/src/1/ItemListInit.tsx
@@ -0,0 +1,3 @@
+export default function ItemList() {
+ return