// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import { I18n } from '@aws-amplify/core'; import Form from 'react-bootstrap/Form'; import { FormProps } from '../../util/types'; /** * Renders the OPC UA form. * @param props The properties for the OPC UA form * @returns The OPC UA form */ export default function OpcUaForm(props: FormProps): JSX.Element { const { connection, onChange, errors } = props; return ( <> {I18n.get('server.name')} * {I18n.get('description.server.name')} {errors.opcUa_serverName} {I18n.get('machine.ip')} * {I18n.get('description.machine.ip')} {errors.opcUa_machineIp} {I18n.get('port')} {I18n.get('description.port')} {errors.port} ); }