diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-14 13:38:33 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-14 13:38:33 -0500 |
commit | 513fc1e2faac736bcefe71aba64e74196524001d (patch) | |
tree | 1e3993cc6263156369c69a84bee77bb4f508749c /src/Dialog.tsx | |
parent | b88894cd027d27b8fb7ab358128f52c6f24fbe0d (diff) |
...
Diffstat (limited to 'src/Dialog.tsx')
-rw-r--r-- | src/Dialog.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Dialog.tsx b/src/Dialog.tsx index 7e24176..df72144 100644 --- a/src/Dialog.tsx +++ b/src/Dialog.tsx @@ -9,11 +9,15 @@ import Slide from '@material-ui/core/Slide'; // modified from https://material-ui.com/demos/dialogs/ -function Transition(props) { +function Transition(props: any) { return <Slide direction="up" {...props} />; } -function AlertDialog(props) { +function AlertDialog(props: { + open: boolean, + handleClose: (r: boolean) => any, + title: string, + message: string}) { return ( <Dialog open={props.open} |