import { createElement , JSXElementType , HarmajaProps , HarmajaOutput , } from "./harmaja" ; export { Fragment } from "./harmaja" ; export function jsx ( type , props , maybeKey ? ) { const { children , ... otherProps } = props ; if ( maybeKey !== undefined ) { otherProps . key = maybeKey ; } return children !== undefined ? createElement ( type , otherProps , ... children ) : createElement ( type , otherProps ) ; } export function jsxs ( type , props , maybeKey ? ) { return jsx ( type , props , maybeKey ) ; }