Forráskód Böngészése

refactor(types): 添加 Feature 接口

添加了 Feature 接口,定义了包含 img、title、subtitle 和 href 属性的结构。
nahida 8 hónapja
szülő
commit
7181977e6e
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      src/types/index.ts

+ 7 - 0
src/types/index.ts

@@ -0,0 +1,7 @@
+
+interface Feature {
+  img: string
+  title: string
+  subtitle: string
+  href: string
+}