UNPKG
@rsc-labs/nocto-plugin-system
Version:
latest (0.1.5)
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.1
Pluggable registry system for Nocto plugins
@rsc-labs/nocto-plugin-system
/
dist
/
components
/
NoctoSlot.d.ts
10 lines
(9 loc)
•
292 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
React
from
"react"
;
type
NoctoSlotProps
= {
pluginId
:
string
;
name
:
string
;
runtimeProps
?:
Record
<
string
,
any
>;
fallback
?:
React
.
ReactNode
; };
export
declare
const
NoctoSlot
:
(
{ pluginId, name, runtimeProps, fallback }:
NoctoSlotProps
) =>
React
.
JSX
.
Element
;
export
{};