UNPKG
@zooom/integration-react
Version:
latest (0.0.1)
0.0.1
A Zooom integration for using React in PHP based websites
github.com/nititech/zooom
nititech/zooom
@zooom/integration-react
/
dist
/
utils.d.ts
11 lines
(7 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
ReactNode
}
from
'react'
;
declare
type
Options
= {
shadowRoot
?:
false
|
'open'
|
'closed'
|
ShadowRootInit
;
prefix
?:
string
; };
export
declare
function
registerReactComponent
(
name
:
string
,
Component
: (props:
any
) =>
ReactNode
,
options
?:
Options
):
void
;
export
{ }