summaryrefslogtreecommitdiff
path: root/examples/hackernews/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/hackernews/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/hackernews/src')
-rw-r--r--examples/hackernews/src/components/Comment.astro4
-rw-r--r--examples/hackernews/src/components/For.astro2
-rw-r--r--examples/hackernews/src/components/Show.astro2
-rw-r--r--examples/hackernews/src/components/Story.astro4
-rw-r--r--examples/hackernews/src/components/Toggle.astro2
5 files changed, 7 insertions, 7 deletions
diff --git a/examples/hackernews/src/components/Comment.astro b/examples/hackernews/src/components/Comment.astro
index 6137f4e1d..07e55d19b 100644
--- a/examples/hackernews/src/components/Comment.astro
+++ b/examples/hackernews/src/components/Comment.astro
@@ -1,10 +1,10 @@
---
+import type { IComment } from '../types.js';
import For from './For.astro';
import Show from './Show.astro';
import Toggle from './Toggle.astro';
-import type { IComment } from '../types.js';
-export interface Props {
+interface Props {
comment: IComment;
}
diff --git a/examples/hackernews/src/components/For.astro b/examples/hackernews/src/components/For.astro
index 885c22a65..6eae88e27 100644
--- a/examples/hackernews/src/components/For.astro
+++ b/examples/hackernews/src/components/For.astro
@@ -1,7 +1,7 @@
---
import Show from './Show.astro';
-export interface Props<T> {
+interface Props<T> {
each: Iterable<T>;
}
diff --git a/examples/hackernews/src/components/Show.astro b/examples/hackernews/src/components/Show.astro
index 7e0887784..ccb642fd7 100644
--- a/examples/hackernews/src/components/Show.astro
+++ b/examples/hackernews/src/components/Show.astro
@@ -1,5 +1,5 @@
---
-export interface Props<T> {
+interface Props<T> {
when: T | number | boolean | undefined | null;
}
diff --git a/examples/hackernews/src/components/Story.astro b/examples/hackernews/src/components/Story.astro
index ee43bab17..e91748a30 100644
--- a/examples/hackernews/src/components/Story.astro
+++ b/examples/hackernews/src/components/Story.astro
@@ -1,8 +1,8 @@
---
-import Show from './Show.astro';
import type { IStory } from '../types.js';
+import Show from './Show.astro';
-export interface Props {
+interface Props {
story: IStory;
}
diff --git a/examples/hackernews/src/components/Toggle.astro b/examples/hackernews/src/components/Toggle.astro
index 87b686981..799fca08c 100644
--- a/examples/hackernews/src/components/Toggle.astro
+++ b/examples/hackernews/src/components/Toggle.astro
@@ -1,5 +1,5 @@
---
-export interface Props {
+interface Props {
open?: boolean;
}