summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiDeoo2024-02-20 19:28:45 +0100
committerGitHub2024-02-20 19:28:45 +0100
commit163bc848e173eecca92d1cb034045fdb42aa4ff1 (patch)
tree350b94829e3723e1f310810967d3215ecdf4fd18
parent55db654e6e80f1ea51db60284bcd8da528e385cd (diff)
downloadIT.starlight-163bc848e173eecca92d1cb034045fdb42aa4ff1.tar.gz
IT.starlight-163bc848e173eecca92d1cb034045fdb42aa4ff1.tar.bz2
IT.starlight-163bc848e173eecca92d1cb034045fdb42aa4ff1.zip
Export `StarlightPageProps` type (#1527)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r--.changeset/silver-crabs-yawn.md5
-rw-r--r--packages/starlight/props.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/silver-crabs-yawn.md b/.changeset/silver-crabs-yawn.md
new file mode 100644
index 00000000..49eedd99
--- /dev/null
+++ b/.changeset/silver-crabs-yawn.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/starlight': patch
+---
+
+Exports the `StarlightPageProps` TypeScript type representing the props expected by the `<StarlightPage />` component.
diff --git a/packages/starlight/props.ts b/packages/starlight/props.ts
index 76c119e4..910d5b00 100644
--- a/packages/starlight/props.ts
+++ b/packages/starlight/props.ts
@@ -1 +1,2 @@
export type { StarlightRouteData as Props } from './utils/route-data';
+export type { StarlightPageProps } from './utils/starlight-page';