import React, { PureComponent } from 'react'; import { Zap } from 'react-feather'; import ToggleSwitch from './ToggleSwitch'; import Input from './Input'; import Switch from './Switch'; import Button, { ButtonWithIcon, ButtonPlain } from './Button'; // import Modal from 'c/Modal'; // import APIConfig from 'c/APIConfig'; // import Proxy from 'c/Proxy'; const paneStyle = { padding: '20px 0' }; const optionsRule = [ { label: 'Global', value: 'Global' }, { label: 'Rule', value: 'Rule' }, { label: 'Direct', value: 'Direct' } ]; const Pane = ({ children, style }) => (