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

Function clearFilter

src/Filter.js:90–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 clearFilter () {
91 this.setState({ filters: [], resultText: '' });
92 this.close();
93 if (this.props.onFilter) {
94 this.props.onFilter([]);
95 }
96 }
97
98 onChange (index, filter) {
99 let filters = this.state.filters,

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…