How to use the kpc-react/components/utils.range function in kpc-react

To help you get started, we’ve selected a few kpc-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ksc-fe / kpc / components / split / demos / complex / index.jsx View on Github external
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);
    }