(props)
| 5 | |
| 6 | class TableHeader extends Component { |
| 7 | constructor (props) { |
| 8 | super(props); |
| 9 | this.state = { |
| 10 | asc: 0 |
| 11 | }; |
| 12 | this.onSort = this.onSort.bind(this); |
| 13 | } |
| 14 | |
| 15 | onSort () { |
| 16 | let asc = this.state.asc === 0 ? 1 : 0; |
nothing calls this directly
no outgoing calls
no test coverage detected