Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Lobos/react-ui
/ onSort
Method
onSort
src/TableHeader.js:15–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
onSort () {
16
let
asc = this.state.asc === 0 ? 1 : 0;
17
this.setState({ asc });
18
this.props.onSort(this.props.name, asc);
19
}
20
21
render () {
22
let
sort = [],
Callers
1
Table
Class · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected