@mittwald/react-tunnel
Version:
It's like a Portal – but with React components
13 lines • 512 B
TypeScript
import { FC, ReactNode } from 'react';
export type TunnelEntryChildren = ReactNode | undefined | (() => ReactNode | undefined);
export interface TunnelEntryProps {
id?: string;
children?: TunnelEntryChildren;
/** Static entry ID instead of generated ID by `useId` */
staticEntryId?: string;
/** Select a dedicated tunnel provider by ID. */
providerId?: string;
}
export declare const TunnelEntry: FC<TunnelEntryProps>;
export default TunnelEntry;
//# sourceMappingURL=TunnelEntry.d.ts.map