UNPKG
@react-slate/core
Version:
latest (1.0.1)
1.0.1
1.0.0
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
0.8.0-alpha.0
0.7.0
0.6.0
Write interactive CLI apps with React
zamotany.github.io/react-slate/
zamotany/react-slate
@react-slate/core
/
build
/
host
/
createElement.d.ts
5 lines
•
276 B
TypeScript
View Raw
1
2
3
4
5
import
View
from
'./nodes/View'
;
import
Text
from
'./nodes/Text'
;
import
Paragraph
from
'./nodes/Paragraph'
;
export
default
function
createElement
(
type
:
Function
|
string
,
props
:
any
):
Function
|
View
|
Paragraph
|
Text
|
undefined
;
//# sourceMappingURL=createElement.d.ts.map