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