import { type FunctionComponent } from 'react' import type { AwaitOptions, Awaited, Key } from './types' import { useAwait } from './useAwait' /** * @experimental This is experimental feature. */ export type AwaitProps = { options: AwaitOptions children: FunctionComponent> } /** * @experimental This is experimental feature. */ export const Await = ({ children: Children, options }: AwaitProps) => ( (options)} /> )