diff options
author | 2023-07-14 15:57:06 +0200 | |
---|---|---|
committer | 2023-07-14 09:57:06 -0400 | |
commit | b3b640435b1a6630a40be7dbe81f21a9693856d2 (patch) | |
tree | eb7985b3da08bc45618e99fc663dee88bf3feab7 /examples/with-markdoc/src | |
parent | 7a6b48a1a40122fa3a6c1aef112f82dec25ee083 (diff) | |
download | astro-b3b640435b1a6630a40be7dbe81f21a9693856d2.tar.gz astro-b3b640435b1a6630a40be7dbe81f21a9693856d2.tar.zst astro-b3b640435b1a6630a40be7dbe81f21a9693856d2.zip |
nit: export props has been unnecessary.. forever (#7646)
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; } |