UNPKG
@protorians/widgets
Version:
alpha (0.6.6)
beta (0.9.0)
dev (0.6.2)
latest (0.9.3)
0.9.3
0.9.1
0.9.0
0.6.8
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.5.1
0.5.0
0.4.0
0.3.11
0.3.10
0.3.9
0.3.5
0.3.3
0.3.2
0.3.1
0.3.0
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.17
0.1.16
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.8-beta.0
0.1.7-beta.4
0.1.7-beta.3
0.1.7-beta.2
0.1.7-beta.1
0.1.7-beta.0
0.1.6
0.1.5
0.1.3
0.0.14
0.0.13
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.4-beta.13
0.0.4-beta.7
0.0.4-beta.6
0.0.4-beta.5
0.0.4-beta.3
0.0.4-beta.2
0.0.4-beta.1
0.0.4-beta.0
0.0.3
0.0.3-beta.5
0.0.3-beta.4
0.0.3-beta.3
0.0.3-beta.2
0.0.3-beta.1
0.0.2-beta.9
0.0.2-beta.8
0.0.2-beta.7
0.0.2-beta.6
0.0.2-beta.3
0.0.2-beta.2
0.0.2-beta.1
0.0.1
0.0.1-alpha.11
0.0.1-alpha.10
0.0.1-alpha.9
0.0.1-alpha.8
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
Create your web user interfaces with widgets
github.com/protorians/widgets
protorians/widgets
@protorians/widgets
/
build
/
hooks
/
stateless.d.ts
3 lines
(2 loc)
•
297 B
TypeScript
View Raw
1
2
3
import
{
IAttributes
,
IComposite
,
IStatelessProps
,
IWidgetNode
}
from
"../types/index.js"
;
export
declare
function
useStateless<
Props
extends
Record
<
string
,
any
>, E
extends
HTMLElement
, A
extends
IAttributes
>(
composite
:
IComposite
<
IStatelessProps
<
Props
>>,
dependencies
:
Props
):
IWidgetNode
<E, A>;