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