diff options
author | HiDeoo | 2024-02-20 19:28:45 +0100 |
---|---|---|
committer | GitHub | 2024-02-20 19:28:45 +0100 |
commit | 163bc848e173eecca92d1cb034045fdb42aa4ff1 (patch) | |
tree | 350b94829e3723e1f310810967d3215ecdf4fd18 | |
parent | 55db654e6e80f1ea51db60284bcd8da528e385cd (diff) | |
download | IT.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.md | 5 | ||||
-rw-r--r-- | packages/starlight/props.ts | 1 |
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'; |