summaryrefslogtreecommitdiff
path: root/src/components/organisms/Date.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/Date.astro')
-rw-r--r--src/components/organisms/Date.astro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/organisms/Date.astro b/src/components/organisms/Date.astro
index c1ec7e5..960cfb7 100644
--- a/src/components/organisms/Date.astro
+++ b/src/components/organisms/Date.astro
@@ -1,8 +1,11 @@
---
+import type { HTMLAttributes } from "astro/types";
+
interface Props {
date: Date;
locales: Intl.LocalesArgument;
options: Intl.DateTimeFormatOptions;
+ itemprop: HTMLAttributes<"time">["itemprop"];
}
const { date, locales, options } = Astro.props;