Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.state = {
data: range(0, 10).map(item => {
return {
name: 'name ' + item,
ip: '127.0.0.' + item
};
}),
tab: 'detail',
size: '0px',
selectedData: {},
checkedKeys: [],
};
this._classNames = this._classNames.bind(this);
this._close = this._close.bind(this);
this._open = this._open.bind(this);
this._togglePanel = this._togglePanel.bind(this);
}