MCPcopy
hub / github.com/mitmproxy/mitmproxy / HighlightInput

Function HighlightInput

web/src/js/components/Header/FlowListMenu.tsx:61–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61function HighlightInput() {
62 const dispatch = useAppDispatch();
63 const value = useAppSelector(
64 (state) => state.ui.filter[FilterName.Highlight],
65 );
66 return (
67 <FilterInput
68 value={value}
69 placeholder="Highlight"
70 icon={FilterIcon.HIGHLIGHT}
71 color="hsl(48, 100%, 50%)"
72 onChange={(expr) => dispatch(setHighlight(expr))}
73 />
74 );
75}
76
77export function ResumeAll() {
78 const dispatch = useAppDispatch();

Callers

nothing calls this directly

Calls 3

useAppDispatchFunction · 0.90
setHighlightFunction · 0.90
dispatchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…