UNPKG
shreyas-ui-metrics
Version:
latest (1.28.0-test.1)
test (1.28.0-test.14)
1.28.0-test.14
1.28.0-test.13
1.28.0-test.12
1.28.0-test.11
1.28.0-test.10
1.28.0-test.9
1.28.0-test.8
1.28.0-test.7
1.28.0-test.6
1.28.0-test.5
1.28.0-test.4
1.28.0-test.3
1.28.0-test.2
1.28.0-test.1
UI metrics tracking for Webex widgets
shreyas-ui-metrics
/
dist
/
types
/
withMetrics.d.ts
3 lines
(2 loc)
•
203 B
TypeScript
View Raw
1
2
3
import
React
from
'react'
;
export
default
function
withMetrics<P
extends
object
>(
Component
:
any
,
widgetName
:
string
,
propsToTrack
?:
string
[]):
React
.
MemoExoticComponent
<
(
props
: P
) =>
React
.
JSX
.
Element
>;