UNPKG
@onesy/style-react
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Onesy CSS in JS styling solution for React
github.com/onesy-me/onesy
onesy-me/onesy
@onesy/style-react
/
styled.d.ts
6 lines
(5 loc)
•
229 B
TypeScript
View Raw
1
2
3
4
5
6
import
React
from
'react'
;
import
{
IOptions
}
from
'@onesy/style/style'
;
import
{
TValue
}
from
'./style'
;
declare
const
styled
:
(
Element
:
any
) =>
(
value
:
TValue
,
options
?:
IOptions
) =>
React
.
ElementType
;
export
default
styled;