summaryrefslogtreecommitdiff
path: root/examples/with-markdoc/src
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-07-14 15:57:06 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-14 09:57:06 -0400
commitb3b640435b1a6630a40be7dbe81f21a9693856d2 (patch)
treeeb7985b3da08bc45618e99fc663dee88bf3feab7 /examples/with-markdoc/src
parent7a6b48a1a40122fa3a6c1aef112f82dec25ee083 (diff)
downloadastro-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.astro2
-rw-r--r--examples/with-markdoc/src/layouts/Layout.astro2
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;
}