UNPKG
reactjs-localizer
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.1
1.0.0
0.2.0
0.1.62
0.1.61
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Localizer for ReactJS applications
github.com/StarkMP/reactjs-localizer
StarkMP/reactjs-localizer
reactjs-localizer
/
dist
/
hoc
/
withLocalizer.d.ts
4 lines
(3 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
import
React
from
'react'
;
import
{
ContextProps
}
from
'../types'
;
export
declare
const
withLocalizer
: <T
extends
{}>
(
WrappedComponent
:
React
.
ComponentType
<T &
ContextProps
>
) =>
React
.
FC
<T &
Partial
<
ContextProps
>>;