MCPcopy Create free account
hub / github.com/Lobos/react-ui / formatText

Function formatText

src/Filter.js:127–135  ·  view source on GitHub ↗
(filters)

Source from the content-addressed store, hash-verified

125 }
126
127 formatText (filters) {
128 let text = [];
129 filters.forEach((f) => {
130 if (f.op && f.value) {
131 text.push(`${f.label} ${f.op} '${f.value}'`);
132 }
133 });
134 return text.join(', ');
135 }
136
137 renderFilters () {
138 let filters = this.state.filters.map((f, i) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…