MCPcopy Index your code
hub / github.com/Lobos/react-ui / render

Method render

src/TableHeader.js:21–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 render () {
22 let sort = [],
23 onSort = null,
24 style = {};
25
26 if (this.props.sortAble) {
27 sort.push(<i key="up" className={classnames('arrow-up', {active: this.props.name === this.props.sort.name && this.state.asc === 1})} />);
28 sort.push(<i key="down" className={classnames('arrow-down', {active: this.props.name === this.props.sort.name && this.state.asc === 0})} />);
29
30 onSort = this.onSort;
31 style = { cursor: 'pointer' };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected