UNPKG
@legion-ui-kit/react-core
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
To install the package into your project:
@legion-ui-kit/react-core
/
dist
/
cjs
/
helpers
/
internal.cjs
3 lines
(2 loc)
•
211 B
JavaScript
View Raw
1
2
3
"use strict"
;
var
e=
require
(
"react"
);
exports
.
checkComponent
=
(
a,t
)=>
!!e.
isValidElement
(a)&&(a?.
name
===t||(a?.
displayName
===t||(a?.
type
?.
name
===t||a?.
type
?.
displayName
===t)));
//# sourceMappingURL=internal.cjs.map