@@ -22,6 +22,7 @@ with an automatic JSX runtime.
22
22
* [ ` Options ` ] ( #options )
23
23
* [ ` Components ` ] ( #components )
24
24
* [ ` ElementAttributeNameCase ` ] ( #elementattributenamecase )
25
+ * [ ` ExtraProps ` ] ( #extraprops )
25
26
* [ ` Fragment ` ] ( #fragment )
26
27
* [ ` Jsx ` ] ( #jsx )
27
28
* [ ` JsxDev ` ] ( #jsxdev )
@@ -256,6 +257,16 @@ React casing is for example `className`, `strokeLinecap`, `xmlLang`.
256
257
type ElementAttributeNameCase = ' html' | ' react'
257
258
` ` `
258
259
260
+ ### ` ExtraProps `
261
+
262
+ Extra fields we pass (TypeScript type).
263
+
264
+ ###### Type
265
+
266
+ ` ` ` ts
267
+ type ExtraProps = {node? : Element | undefined }
268
+ ` ` `
269
+
259
270
### ` Fragment `
260
271
261
272
Represent the children, typically a symbol (TypeScript type).
@@ -557,6 +568,7 @@ This package is fully typed with [TypeScript][].
557
568
It exports the additional types
558
569
[ ` Components ` ] [ api-components ] ,
559
570
[ ` ElementAttributeNameCase ` ] [ api-element-attribute-name-case ] ,
571
+ [ ` ExtraProps ` ] [ api-extra-props ] ,
560
572
[ ` Fragment ` ] [ api-fragment ] ,
561
573
[ ` Jsx ` ] [ api-jsx ] ,
562
574
[ ` JsxDev ` ] [ api-jsx-dev ] ,
@@ -671,6 +683,8 @@ abide by its terms.
671
683
672
684
[ api-element-attribute-name-case ] : #elementattributenamecase
673
685
686
+ [ api-extra-props ] : #extraprops
687
+
674
688
[ api-fragment ] : #fragment
675
689
676
690
[ api-jsx ] : #jsx
0 commit comments