@@ -22,6 +22,7 @@ with an automatic JSX runtime.
2222 * [ ` Options ` ] ( #options )
2323 * [ ` Components ` ] ( #components )
2424 * [ ` ElementAttributeNameCase ` ] ( #elementattributenamecase )
25+ * [ ` ExtraProps ` ] ( #extraprops )
2526 * [ ` Fragment ` ] ( #fragment )
2627 * [ ` Jsx ` ] ( #jsx )
2728 * [ ` JsxDev ` ] ( #jsxdev )
@@ -256,6 +257,16 @@ React casing is for example `className`, `strokeLinecap`, `xmlLang`.
256257type ElementAttributeNameCase = ' html' | ' react'
257258` ` `
258259
260+ ### ` ExtraProps `
261+
262+ Extra fields we pass (TypeScript type).
263+
264+ ###### Type
265+
266+ ` ` ` ts
267+ type ExtraProps = {node? : Element | undefined }
268+ ` ` `
269+
259270### ` Fragment `
260271
261272Represent the children, typically a symbol (TypeScript type).
@@ -557,6 +568,7 @@ This package is fully typed with [TypeScript][].
557568It exports the additional types
558569[ ` Components ` ] [ api-components ] ,
559570[ ` ElementAttributeNameCase ` ] [ api-element-attribute-name-case ] ,
571+ [ ` ExtraProps ` ] [ api-extra-props ] ,
560572[ ` Fragment ` ] [ api-fragment ] ,
561573[ ` Jsx ` ] [ api-jsx ] ,
562574[ ` JsxDev ` ] [ api-jsx-dev ] ,
@@ -671,6 +683,8 @@ abide by its terms.
671683
672684[ api-element-attribute-name-case ] : #elementattributenamecase
673685
686+ [ api-extra-props ] : #extraprops
687+
674688[ api-fragment ] : #fragment
675689
676690[ api-jsx ] : #jsx
0 commit comments