diff options
Diffstat (limited to 'examples/with-markdoc/src')
-rw-r--r-- | examples/with-markdoc/src/components/Aside.astro | 2 | ||||
-rw-r--r-- | examples/with-markdoc/src/layouts/Layout.astro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/with-markdoc/src/components/Aside.astro b/examples/with-markdoc/src/components/Aside.astro index 5d92a0993..ec93314f2 100644 --- a/examples/with-markdoc/src/components/Aside.astro +++ b/examples/with-markdoc/src/components/Aside.astro @@ -2,7 +2,7 @@ // Inspired by the `Aside` component from docs.astro.build // https://github.com/withastro/docs/blob/main/src/components/Aside.astro -export interface Props { +interface Props { type?: 'note' | 'tip' | 'caution' | 'danger'; title?: string; } diff --git a/examples/with-markdoc/src/layouts/Layout.astro b/examples/with-markdoc/src/layouts/Layout.astro index fa47dafce..b1362340e 100644 --- a/examples/with-markdoc/src/layouts/Layout.astro +++ b/examples/with-markdoc/src/layouts/Layout.astro @@ -1,5 +1,5 @@ --- -export interface Props { +interface Props { title: string; } |