Files
enviPy-bayer/static/js/ketcher2/node_modules/preact-redux/src/compat.js
2025-06-23 20:13:54 +02:00

18 lines
324 B
JavaScript

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
};