UNPKG
react-pdfmake
Version:
latest (0.3.0)
0.3.0
0.2.0
0.1.5
<a name="yarn"/>
react-pdfmake
/
es
/
is-type.js
7 lines
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
React
from
'react'
;
var
isType =
function
(
child, Bar
) {
var
inst =
React
.
createElement
(
Bar
,
null
);
return
child.
type
===
Bar
|| child.
type
=== inst.
type
; };
export
default
isType;
//# sourceMappingURL=is-type.js.map