UNPKG
@amaui/style-react
Version:
latest (1.1.35)
1.1.112
1.1.111
1.1.35
1.1.34
1.1.33
1.1.32
1.1.31
1.1.30
1.1.29
1.1.28
1.1.27
1.1.25
1.1.24
1.1.23
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
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.11145
1.0.11144
1.0.11114
1.0.11111
1.0.1140
1.0.1135
1.0.1134
1.0.1133
1.0.1131
1.0.1130
1.0.1127
1.0.1125
1.0.1124
1.0.1123
1.0.1121
1.0.1120
1.0.1119
1.0.1118
1.0.1115
1.0.1111
1.0.111
1.0.11
1.0.1
1.0.0
Amaui CSS in JS styling solution for React
github.com/amaui-org/amaui
amaui-org/amaui
@amaui/style-react
/
withStyle.d.ts
6 lines
(5 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
6
import
React
from
'react'
;
import
{
IOptions
}
from
'@amaui/style/style'
;
import
{
TValue
}
from
'./style'
;
declare
const
withStyle
:
(
Element
:
any
) =>
(
value
:
TValue
,
options
?:
IOptions
) =>
React
.
ElementType
;
export
default
withStyle;