1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import React from "react";
6 import { Field } from "redux-form";
7 import { TextField } from "components/text-field/text-field";
8 import { PROCESS_NAME_VALIDATION, PROCESS_DESCRIPTION_VALIDATION } from "validators/validators";
10 export const ProcessNameField = () =>
13 component={TextField as any}
14 validate={PROCESS_NAME_VALIDATION}
15 label="Process Name" />;
17 export const ProcessDescriptionField = () =>
20 component={TextField as any}
21 validate={PROCESS_DESCRIPTION_VALIDATION}
22 label="Process Description" />;