-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from 'react'; | ||
import Button from '@material-ui/core/Button'; | ||
import Dialog from '@material-ui/core/Dialog'; | ||
import DialogActions from '@material-ui/core/DialogActions'; | ||
import DialogContent from '@material-ui/core/DialogContent'; | ||
import DialogTitle from '@material-ui/core/DialogTitle'; | ||
import {createStyles, makeStyles, Theme} from '@material-ui/core/styles'; | ||
import {CashAccountModel} from "../../../models/CashAccountModel"; | ||
import {Transition} from "../../../components/common/Transition"; | ||
|
||
const useStyles = makeStyles((theme: Theme) => | ||
createStyles({ | ||
root: {}, | ||
}), | ||
); | ||
|
||
type Props = { | ||
open: boolean, | ||
handleClose: () => void, | ||
dropDownDataForCashAccounts: CashAccountModel[], | ||
}; | ||
|
||
export const AccountPicker = ({open, handleClose, dropDownDataForCashAccounts}: Props) => { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<Dialog open={open} onClose={handleClose} TransitionComponent={Transition} className={classes.root}> | ||
<DialogTitle>Account</DialogTitle> | ||
<DialogContent> | ||
xxxxxxxxxxxxxxxxxx | ||
</DialogContent> | ||
<DialogActions> | ||
<Button onClick={handleClose} color="primary"> | ||
OK | ||
</Button> | ||
</DialogActions> | ||
</Dialog> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters