// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; import { Dialog, DialogTitle, Button, Grid, DialogContent } from '@material-ui/core'; import { DialogActions } from '~/components/dialog-actions/dialog-actions'; export interface SharingDialogDataProps { open: boolean; saveEnabled: boolean; children: React.ReactNode; } export interface SharingDialogActionProps { onClose: () => void; onSave: () => void; onAdvanced: () => void; } export default (props: SharingDialogDataProps & SharingDialogActionProps) => { const { children, open, saveEnabled, onAdvanced, onClose, onSave } = props; return Sharing settings {children} ; };