From cc9c17a86cefd0460ccba7aeda7c0b57efe0ccb1 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 8 Oct 2020 13:28:24 +0300 Subject: feat: stick all headers to same logic --- src/components/ModalScreen/ModalScreen.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/ModalScreen/ModalScreen.tsx b/src/components/ModalScreen/ModalScreen.tsx index c6044af..4a4b1be 100644 --- a/src/components/ModalScreen/ModalScreen.tsx +++ b/src/components/ModalScreen/ModalScreen.tsx @@ -28,6 +28,7 @@ const useStyles = makeStyles(theme => ({ }, toolbar: { display: 'flex', + justifyContent: 'space-between' } })); @@ -35,7 +36,7 @@ const Transition = React.forwardRef(function Transition( props: TransitionProps & { children?: React.ReactElement }, ref: React.Ref, ) { - return ; + return ; }); const ModalScreen: React.FC = ({ title, children }) => { @@ -59,12 +60,15 @@ const ModalScreen: React.FC = ({ title, children }) => { > - + { title } + + + -- cgit v1.2.3