MCPcopy
hub / github.com/palantir/blueprint / remove

Method remove

packages/table-dev-app/src/features.tsx:409–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407 }
408
409 private remove() {
410 if (this.state.columns.length <= 2) {
411 return;
412 }
413 const columns = this.state.columns.slice();
414 columns.pop();
415 this.setState({ columns });
416 }
417
418 private swap(a: number, b: number) {
419 const columns = this.state.columns.slice();

Callers 15

componentDidMountMethod · 0.95
handleTests.tsxFile · 0.45
sliderTests.tsxFile · 0.45
hotkeysTests.tsxFile · 0.45
popoverTests.tsxFile · 0.45
overlayTests.tsxFile · 0.45
tabsTests.tsxFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected