EventSourceProvider
Supplies the EventSourceFactory every SSE-opening hook in clicky-ui reads through useEventSourceFactory() (./event-source). A host wraps its tree in one of these to route those hooks’ connections through its own transport; without it, hooks use the browser’s native EventSource.
Import
Section titled “Import”import { EventSourceProvider } from "@flanksource/clicky-ui/hooks";No dedicated Storybook demo is available for this component yet.
The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
value* |
EventSourceFactory |
— | The factory every descendant SSE-opening hook will use. |