import React from "react"; import { WithTranslation, withTranslation } from "react-i18next"; import ArrayConfigTable from "./ArrayConfigTable"; type Props = WithTranslation & { proxyExcludes: string[]; onChange: (p1: boolean, p2: any, p3: string) => void; disabled: boolean; }; type State = {}; class ProxyExcludesTable extends React.Component { render() { const { proxyExcludes, disabled, t } = this.props; return ( ); } removeEntry = (newExcludes: string[]) => { this.props.onChange(true, newExcludes, "proxyExcludes"); }; } export default withTranslation("config")(ProxyExcludesTable);