// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import * as React from "react"; import { InjectedFormProps, Field, WrappedFieldProps } from "redux-form"; import { Dialog, DialogTitle, DialogContent, DialogActions, Button, CircularProgress, FormHelperText } from "@material-ui/core"; import { WithDialogProps } from "../../store/dialog/with-dialog"; import { TextField } from "../../components/text-field/text-field"; import { COLLECTION_NAME_VALIDATION, COLLECTION_DESCRIPTION_VALIDATION, COLLECTION_PROJECT_VALIDATION } from "../../validators/create-project/create-project-validator"; import { ProjectTreePicker } from "../project-tree-picker/project-tree-picker"; export const DialogCollectionCreateWithSelected = (props: WithDialogProps & InjectedFormProps<{ name: string }>) =>
Create a collection
; const Picker = (props: WrappedFieldProps) =>
props.input.onChange(projectUuid)} />
;