File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/@react-facet/dom-fiber/src Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { FacetProp , Unsubscribe } from '@react-facet/core'
22import { FiberRoot , Reconciler } from 'react-reconciler'
3- import { MutableRefObject , ReactNode , ReactPortal } from 'react'
3+ import { MutableRefObject , ReactElement , ReactNode , ReactPortal } from 'react'
44
55export type FacetFiberRoot = FiberRoot
66
@@ -107,6 +107,8 @@ interface StrictReactElement<P = unknown, T extends string = string> {
107107 key : string | null
108108}
109109
110+ export type FastTextElement = ReactElement < TextProps >
111+
110112/**
111113 * More strict type than default React.ReactNode
112114 *
@@ -121,6 +123,7 @@ export type StrictReactNode =
121123 | boolean
122124 | null
123125 | undefined
126+ | FastTextElement
124127
125128export type ElementProps < T > = PointerEvents &
126129 FocusEvents &
You can’t perform that action at this time.
0 commit comments