UNPKG
@modular-component/with-components
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Subcomponents injection for the ModularComponent system
@modular-component/with-components
/
dist
/
index.d.ts
4 lines
•
286 B
TypeScript
View Raw
1
2
3
4
import
{
ComponentType
}
from
'react'
;
import
{
ModularStage
}
from
'@modular-component/core'
;
export
declare
function
components<
Components
extends
Record
<
string
,
ComponentType
>>(
components
:
Components
):
ModularStage
<
'components'
,
() =>
Components
>;
//# sourceMappingURL=index.d.ts.map