Search
Preparing search index...
@universe-ee/sdk
Universe
Vendor
React
createFactory
Function createFactory
createFactory
<
T
extends
HTMLElement
>
(
type
:
keyof
ReactHTML
)
:
HTMLFactory
<
T
>
Type Parameters
T
extends
HTMLElement
Parameters
type
:
keyof
ReactHTML
Returns
HTMLFactory
<
T
>
createFactory
(
type
:
keyof
ReactSVG
)
:
SVGFactory
Parameters
type
:
keyof
ReactSVG
Returns
SVGFactory
createFactory
<
P
extends
DOMAttributes
<
T
>
,
T
extends
Element
>
(
type
:
string
,
)
:
DOMFactory
<
P
,
T
>
Type Parameters
P
extends
DOMAttributes
<
T
>
T
extends
Element
Parameters
type
:
string
Returns
DOMFactory
<
P
,
T
>
createFactory
<
P
>
(
type
:
FunctionComponent
<
P
>
)
:
FunctionComponentFactory
<
P
>
Type Parameters
P
Parameters
type
:
FunctionComponent
<
P
>
Returns
FunctionComponentFactory
<
P
>
createFactory
<
P
>
(
type
:
ClassType
<
P
,
ClassicComponent
<
P
,
any
>
,
ClassicComponentClass
<
P
>
>
,
)
:
CFactory
<
P
,
ClassicComponent
<
P
,
any
>
>
Type Parameters
P
Parameters
type
:
ClassType
<
P
,
ClassicComponent
<
P
,
any
>
,
ClassicComponentClass
<
P
>
>
Returns
CFactory
<
P
,
ClassicComponent
<
P
,
any
>
>
createFactory
<
P
,
T
extends
Component
<
P
,
any
,
any
>
,
C
extends
ComponentClass
<
P
,
any
>
,
>
(
type
:
ClassType
<
P
,
T
,
C
>
,
)
:
CFactory
<
P
,
T
>
Type Parameters
P
T
extends
Component
<
P
,
any
,
any
>
C
extends
ComponentClass
<
P
,
any
>
Parameters
type
:
ClassType
<
P
,
T
,
C
>
Returns
CFactory
<
P
,
T
>
createFactory
<
P
>
(
type
:
ComponentClass
<
P
>
)
:
Factory
<
P
>
Type Parameters
P
Parameters
type
:
ComponentClass
<
P
>
Returns
Factory
<
P
>
Юниверс MDM SDK UI
Loading...