Skip to content

Commit 6f61349

Browse files
committed
refactor: move the faq related data file to /src/configs/faq/
1 parent e4444ca commit 6f61349

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/configs/faq/faqData.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export type FaqDataType = {
2+
id:string;
3+
trigger:string;
4+
content:string[]
5+
}
6+
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import { FaqDataType } from "./faqData.d.ts";
12

2-
export const accordionData = [
3+
export const faqData:FaqDataType[] = [
34
{
45
id: "item-1",
56
trigger: "Why building a great landing page is critical for your business?",
@@ -52,4 +53,4 @@ export const accordionData = [
5253
}
5354
];
5455

55-
export default accordionData;
56+
export default faqData;

0 commit comments

Comments
 (0)