diff options
author | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-15 23:11:28 +0100 |
---|---|---|
committer | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-15 23:11:28 +0100 |
commit | e94ae6c8bfdc036590273a36bbfc3dadd587bf4b (patch) | |
tree | 3dc155dd48c00a9f407fc6b368d5789f15add01e /src/components/HomepageFeatures/feature-item.ts | |
parent | 84aeabbd7d8ed9535659281026d4a3fa6b90efba (diff) | |
download | neohaskell.github.io-e94ae6c8bfdc036590273a36bbfc3dadd587bf4b.tar.gz neohaskell.github.io-e94ae6c8bfdc036590273a36bbfc3dadd587bf4b.tar.bz2 neohaskell.github.io-e94ae6c8bfdc036590273a36bbfc3dadd587bf4b.zip |
Update
Diffstat (limited to 'src/components/HomepageFeatures/feature-item.ts')
-rw-r--r-- | src/components/HomepageFeatures/feature-item.ts | 12 |
1 files changed, 12 insertions, 0 deletions
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<React.ComponentProps<"img">> }; |