From e94ae6c8bfdc036590273a36bbfc3dadd587bf4b Mon Sep 17 00:00:00 2001 From: Nikita Tchayka Date: Fri, 15 Sep 2023 23:11:28 +0100 Subject: Update --- src/components/HomepageFeatures/feature-item.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/components/HomepageFeatures/feature-item.ts (limited to 'src/components/HomepageFeatures/feature-item.ts') diff --git a/src/components/HomepageFeatures/feature-item.ts b/src/components/HomepageFeatures/feature-item.ts new file mode 100644 index 0000000..31a9268 --- /dev/null +++ b/src/components/HomepageFeatures/feature-item.ts @@ -0,0 +1,12 @@ +export type FeatureItem = { + n?: number; + title: string; + description: JSX.Element; + showcase: ShowCase; + buttonText: string; + shadowColor?: string; +}; + +export type ShowCase = + | { code: string; language: string } + | { img: React.ComponentType> }; -- cgit