UNPKG
@hedgedoc/html-to-react
Version:
latest (2.1.1)
2.1.1
2.1.0
2.1.0-dev
2.0.1-esm
2.0.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1
1.1.0
1.0.0
Parse HTML into React components
hedgedoc/hedgedoc
@hedgedoc/html-to-react
/
dist
/
esm
/
elementTypes
/
ProcessStyleNode.d.ts
4 lines
(3 loc)
•
172 B
TypeScript
View Raw
1
2
3
4
import
{
ReactElement
}
from
'react'
;
import
{
Node
}
from
'domhandler'
;
export
declare
function
processStyleNode
(
node
:
Node
,
index
:
number
|
string
):
ReactElement
|
null
;