import React from 'react'; import { Button, Form, Row, Col, Input, Space, Select } from 'antd'; export default function Render(props) { const { systemId, url, apiPath, port, protocol, } = props.data; const { t, update, navigateBack, confirm } = props.methods; return (
<> { update({ url: e.target.value, }); }} value={url}/> <> { update({ apiPath: e.target.value, }); }} value={apiPath}/> <> { const v = e.target.value; update({ port: v ? Number(v) : undefined, }); }} value={port}/> <>