diff --git a/src/widgets/ConfirmationDialog.tsx b/src/widgets/ConfirmationDialog.tsx new file mode 100644 index 0000000..80a680f --- /dev/null +++ b/src/widgets/ConfirmationDialog.tsx @@ -0,0 +1,42 @@ +import * as React from 'react'; + +import Dialog from 'material-ui/Dialog'; +import FlatButton from 'material-ui/FlatButton'; + +import { pure } from 'recompose'; + +export default pure((_props: any) => { + const { + onCancel, + onOk, + ...props, + } = _props; + const actions = [ + ( + + ) + , + ( + + ), + ]; + + return ( + + ); +});