aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts')
-rw-r--r--src/ts/types/app.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts
index aeab2bc..0960cbd 100644
--- a/src/ts/types/app.ts
+++ b/src/ts/types/app.ts
@@ -1,5 +1,6 @@
import { NextPage } from 'next';
import { AppProps } from 'next/app';
+import { ImageProps } from 'next/image';
import { ReactElement, ReactNode } from 'react';
import { PostBy, TotalArticles } from './articles';
import { AllPostsSlug, RawPostsList } from './blog';
@@ -138,6 +139,11 @@ export type ProjectProps = {
project: Project;
};
+export type ResponsiveImageProps = ImageProps & {
+ caption?: string;
+ linkTarget?: string;
+};
+
export type Slug = {
slug: string;
};