forked from enviPath/enviPy
Current Dev State
This commit is contained in:
17
static/js/ketcher2/node_modules/preact-redux/src/compat.js
generated
vendored
Normal file
17
static/js/ketcher2/node_modules/preact-redux/src/compat.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
export { Component, h as createElement } from 'preact';
|
||||
|
||||
export const Children = {
|
||||
only(children) {
|
||||
return children && children[0] || null;
|
||||
}
|
||||
};
|
||||
|
||||
function proptype() {}
|
||||
proptype.isRequired = proptype;
|
||||
|
||||
export const PropTypes = {
|
||||
element: proptype,
|
||||
func: proptype,
|
||||
shape: () => proptype,
|
||||
instanceOf: ()=> proptype
|
||||
};
|
||||
Reference in New Issue
Block a user