Юниверс DG SDK UI
v2.15.0
@universe-dg/sdk
Universe
Vendor
React
createFactory
Функция createFactory
createFactory
<
T
extends
HTMLElement
>
(
type
:
keyof
ReactHTML
)
:
HTMLFactory
<
T
>
Параметры типа
T
extends
HTMLElement
Параметры
type
:
keyof
ReactHTML
Возвращает
HTMLFactory
<
T
>
createFactory
(
type
:
keyof
ReactSVG
)
:
SVGFactory
Параметры
type
:
keyof
ReactSVG
Возвращает
SVGFactory
createFactory
<
P
extends
DOMAttributes
<
T
>
,
T
extends
Element
>
(
type
:
string
,
)
:
DOMFactory
<
P
,
T
>
Параметры типа
P
extends
DOMAttributes
<
T
>
T
extends
Element
Параметры
type
:
string
Возвращает
DOMFactory
<
P
,
T
>
createFactory
<
P
>
(
type
:
FunctionComponent
<
P
>
)
:
FunctionComponentFactory
<
P
>
Параметры типа
P
Параметры
type
:
FunctionComponent
<
P
>
Возвращает
FunctionComponentFactory
<
P
>
createFactory
<
P
>
(
type
:
ClassType
<
P
,
ClassicComponent
<
P
,
any
>
,
ClassicComponentClass
<
P
>
>
,
)
:
CFactory
<
P
,
ClassicComponent
<
P
,
any
>
>
Параметры типа
P
Параметры
type
:
ClassType
<
P
,
ClassicComponent
<
P
,
any
>
,
ClassicComponentClass
<
P
>
>
Возвращает
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
>
Параметры типа
P
T
extends
Component
<
P
,
any
,
any
>
C
extends
ComponentClass
<
P
,
any
>
Параметры
type
:
ClassType
<
P
,
T
,
C
>
Возвращает
CFactory
<
P
,
T
>
createFactory
<
P
>
(
type
:
ComponentClass
<
P
>
)
:
Factory
<
P
>
Параметры типа
P
Параметры
type
:
ComponentClass
<
P
>
Возвращает
Factory
<
P
>
Настройки
Видимость элементов
?
Наследуемый
Защищенный
Внешний
Экспериментальный
Внутренний
Юниверс DG SDK UI
v2.15.0
Поиск
Подготовка поискового индекса...
Загрузка...