Logs Panel: Added support to pass custom options to the log rows menu (#95330)

* LogsPanel: add props to prepend or append icons to the log row menu

* LogsPanel: add test and type guard

* LogsPanel: add test

* Fix addonBefore position

* Refactor to be an array of ReactNode

* Remove comment

* chore: add docs

* Linting issues
This commit is contained in:
Matias Chomicki
2024-10-28 17:39:12 +01:00
committed by GitHub
parent d68b5d222a
commit d6efd6d606
11 changed files with 149 additions and 7 deletions
@@ -17,6 +17,8 @@ export interface Options {
displayedFields?: Array<string>;
enableLogDetails: boolean;
isFilterLabelActive?: unknown;
logRowMenuIconsAfter?: unknown;
logRowMenuIconsBefore?: unknown;
/**
* TODO: figure out how to define callbacks
*/