import React from 'react';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import ListItemIcon from '@material-ui/core/ListItemIcon';
import ListItemText from '@material-ui/core/ListItemText';
import AddIcon from '@material-ui/icons/Add';
import { AddDialogContent } from './AddDialogContent';
export const buildAddInterface = (
wallet: any,
dialogState: any,
setDialogState: any,
handleSubmit: any
) => {
return {
disabledWhen: () => {
return wallet.status === 'LOCKED';
},
dialogTrigger: (
),
dialogTitle: 'Add',
dialogSubmitTitle: 'Add',
dialogContent: (
{
setDialogState({
...dialogState,
editor: value,
});
}}
/>
),
handleSubmit,
handleCancel: async () => {},
};
};