import type { JSX } from 'react'; const appSpout = (app: JSX.Element) =>
>(props: P) => Promise.resolve({ ...props, app }); export default appSpout;