Conditions | 1 |
Total Lines | 21 |
Code Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | import * as mdc from 'material-components-web'; |
||
20 | |||
21 | render(): React.ReactElement { |
||
22 | 3 | this.drawer && (this.drawer.open = this.props.model.isOpen); |
|
23 | 3 | return <aside className="mdc-drawer mdc-drawer--dismissible mdc-top-app-bar--fixed-adjust"> |
|
24 | <div className="mdc-drawer__content"> |
||
25 | <nav className="mdc-list"> |
||
26 | <a className="mdc-list-item mdc-list-item--activated" href="#" aria-current="page"> |
||
27 | <i className="material-icons mdc-list-item__graphic" aria-hidden="true">inbox</i> |
||
28 | <span className="mdc-list-item__text">Inbox</span> |
||
29 | </a> |
||
30 | <a className="mdc-list-item" href="#"> |
||
31 | <i className="material-icons mdc-list-item__graphic" aria-hidden="true">send</i> |
||
32 | <span className="mdc-list-item__text">Outgoing</span> |
||
33 | </a> |
||
34 | <a className="mdc-list-item" href="#"> |
||
35 | <i className="material-icons mdc-list-item__graphic" aria-hidden="true">drafts</i> |
||
36 | <span className="mdc-list-item__text">Drafts</span> |
||
37 | </a> |
||
38 | </nav> |
||
39 | </div> |
||
40 | </aside>; |
||
41 | } |
||
42 | } |