LogViewerProps
interface exported by @mwillbanks/tuil-log-viewer.
interface
Public interface exported by @mwillbanks/tuil-log-viewer.
export interface LogViewerProps {
readonly model: LogViewerModel;
readonly emptyMessage?: string;
readonly id?: string;
readonly label?: string;
readonly query?: string;
readonly disposeOnUnmount?: boolean;
readonly autoFocus?: boolean;
readonly onLiveChange?: (live: boolean) => void | Promise<void>;
readonly showTimestamp?: boolean;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
model | LogViewerModel | Yes | The model member uses the LogViewerModel contract. | LogViewerModel |
emptyMessage | string | undefined | No | The emptyMessage member uses the string | undefined contract. | — |
id | string | undefined | No | The id member uses the string | undefined contract. | — |
label | string | undefined | No | The label member uses the string | undefined contract. | — |
query | string | undefined | No | The query member uses the string | undefined contract. | — |
disposeOnUnmount | boolean | undefined | No | The disposeOnUnmount member uses the boolean | undefined contract. | — |
autoFocus | boolean | undefined | No | The autoFocus member uses the boolean | undefined contract. | — |
onLiveChange | ((live: boolean) => void | Promise<void>) | undefined | No | The onLiveChange member uses the ((live: boolean) => void | Promise<void>) | undefined contract. | — |
showTimestamp | boolean | undefined | No | The showTimestamp member uses the boolean | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference