UNPKG
icomoon-helper
Version:
latest (0.0.2)
0.0.2
Helper for icomoon custom font render
github.com/Axinvd/icomoon-helper.git
Axinvd/icomoon-helper
icomoon-helper
/
dist
/
createIconSet.d.ts
6 lines
(5 loc)
•
277 B
TypeScript
View Raw
1
2
3
4
5
6
import
React
from
'react'
;
import
{
IIcomoonConfig
,
IIconProps
,
IRenderIconProps
}
from
'./interfaces'
;
export
declare
function
createIconSet
(
config
:
IIcomoonConfig
,
renderIcon
?: (props: IRenderIconProps) => JSX.
Element
):
React
.
FC
<
IIconProps
& {
children
:
string
; }>;