FrameSourceWindow
API reference and demos for FrameSourceWindow.
Import
Section titled “Import”import { FrameSourceWindow } from "@flanksource/clicky-ui/data";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 |
|---|---|---|---|
className |
string |
— | — |
focalTone |
enum |
error |
Styling for the focal line. `"error"` (the default, so existing callers render unchanged) is the red highlight meaning "this line failed". `"neutral"` marks "the line that made this call" — a subtle theme-token highlight with no red. |
frame* |
FrameSource |
— | — |
markers |
{ line: number; content: ReactNode; }[] |
— | Lines to point at besides the focal one, each with an annotation painted under its code — e.g. the calls a caller's source makes. A marked line takes the neutral highlight. |