Pārlūkot izejas kodu

refactor(types): 添加 Feature 接口

添加了 Feature 接口,定义了包含 img、title、subtitle 和 href 属性的结构。
nahida 8 mēneši atpakaļ
vecāks
revīzija
7181977e6e
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  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
+}