File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
packages/sylph-jsx/src/pixi-jsx/solidjs-universal-renderer Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 11export {
2- Suspense ,
3- SuspenseList ,
42 ErrorBoundary ,
53 createEffect ,
64 createMemo ,
@@ -54,6 +52,8 @@ import {
5452 lazy as solidLazy ,
5553 Match as SolidMatch ,
5654 Switch as SolidSwitch ,
55+ SuspenseList as SolidSuspenseList ,
56+ Suspense as SolidSuspense ,
5757} from "solid-js" ;
5858
5959/// Index
@@ -180,3 +180,21 @@ export declare function MatchType<
180180} ) : JSX . Element ;
181181
182182export const Match = SolidMatch as unknown as typeof MatchType ;
183+
184+ /// Suspense
185+
186+ export declare function SuspenseListType ( props : {
187+ children : JSX . Element ;
188+ revealOrder : "forwards" | "backwards" | "together" ;
189+ tail ?: "collapsed" | "hidden" ;
190+ } ) : JSX . Element ;
191+
192+ export const SuspenseList =
193+ SolidSuspenseList as unknown as typeof SuspenseListType ;
194+
195+ export declare function SuspenseType ( props : {
196+ fallback ?: JSX . Element ;
197+ children : JSX . Element ;
198+ } ) : JSX . Element ;
199+
200+ export const Suspense = SolidSuspense as unknown as typeof SuspenseType ;
You can’t perform that action at this time.
0 commit comments