UNPKG
@ucloud-pccl/react-components
Version:
latest (1.2.41)
2.0.0
1.2.41
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.26
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
UCloud pccl react components
ucloud-fe.github.io/react-components/
UCloud-FE/react-components
@ucloud-pccl/react-components
/
lib
/
utils
/
withProps.d.ts
4 lines
(3 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
export
default
withProps;
declare
function
withProps
(
input
?: {},
option
?: {}
):
(
Comp
:
any
) =>
React
.
FC
<
import
(
"emotion-theming/types/helper"
).
AddOptionalTo
<
Pick
<
any
,
string
|
number
|
symbol
> &
React
.
RefAttributes
<
any
>,
"theme"
>>;
import
React
from
"react"
;