浏览代码

remove uppercased version files

Abhinav 3 年之前
父节点
当前提交
2e246bf209
共有 2 个文件被更改,包括 0 次插入35 次删除
  1. 0 9
      src/components/DialogBox/MessageText.tsx
  2. 0 26
      src/components/DialogBox/TitleWithCloseButton.tsx

+ 0 - 9
src/components/DialogBox/MessageText.tsx

@@ -1,9 +0,0 @@
-import { DialogContentText, styled } from '@mui/material';
-
-const MessageText = styled(DialogContentText)(({ theme }) => ({
-    paddingBottom: theme.spacing(2),
-    fontSize: '20px',
-    lineHeight: '24.2px',
-}));
-
-export default MessageText;

+ 0 - 26
src/components/DialogBox/TitleWithCloseButton.tsx

@@ -1,26 +0,0 @@
-import React from 'react';
-import { DialogTitle, IconButton, Typography } from '@mui/material';
-import CloseIcon from '@mui/icons-material/Close';
-import { SpaceBetweenFlex } from 'components/Container';
-
-const DialogTitleWithCloseButton = (props) => {
-    const { children, onClose, ...other } = props;
-
-    return (
-        <DialogTitle {...other}>
-            <SpaceBetweenFlex>
-                <Typography variant="title">{children}</Typography>
-                {onClose && (
-                    <IconButton
-                        aria-label="close"
-                        onClick={onClose}
-                        sx={{ float: 'right' }}>
-                        <CloseIcon />
-                    </IconButton>
-                )}
-            </SpaceBetweenFlex>
-        </DialogTitle>
-    );
-};
-
-export default DialogTitleWithCloseButton;