(sidebarClosed: boolean, sidebarPinned: boolean)
| 855 | } |
| 856 | |
| 857 | public sidebar(sidebarClosed: boolean, sidebarPinned: boolean) { |
| 858 | this.setState({ sidebarClosed, sidebarPinned }); |
| 859 | } |
| 860 | |
| 861 | public resize() { |
| 862 | this.setState({ calculating: () => this._resize() }); |