From bbb9822770fd6f0375afc96475865bff137bf607 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Mon, 25 Apr 2022 12:09:18 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=99=94=EB=A9=B4=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/Customization/BoxContainer.js | 25 -------------------- src/layout/Customization/InputFilled.js | 29 ------------------------ src/layout/Customization/Layout.js | 4 ++-- src/layout/Customization/index.js | 2 -- 4 files changed, 2 insertions(+), 58 deletions(-) delete mode 100755 src/layout/Customization/BoxContainer.js delete mode 100755 src/layout/Customization/InputFilled.js diff --git a/src/layout/Customization/BoxContainer.js b/src/layout/Customization/BoxContainer.js deleted file mode 100755 index 7e964df..0000000 --- a/src/layout/Customization/BoxContainer.js +++ /dev/null @@ -1,25 +0,0 @@ -// material-ui -import { FormControl, FormControlLabel, Switch } from '@mui/material'; - -// project imports -import useConfig from 'hooks/useConfig'; -import SubCard from 'ui-component/cards/SubCard'; - -const BoxContainer = () => { - const { container, onChangeContainer } = useConfig(); - - return ( - - - onChangeContainer()} inputProps={{ 'aria-label': 'controlled-direction' }} /> - } - label="Container" - /> - - - ); -}; - -export default BoxContainer; diff --git a/src/layout/Customization/InputFilled.js b/src/layout/Customization/InputFilled.js deleted file mode 100755 index c71810a..0000000 --- a/src/layout/Customization/InputFilled.js +++ /dev/null @@ -1,29 +0,0 @@ -// material-ui -import { Grid, Stack, Switch, TextField } from '@mui/material'; - -// project imports -import useConfig from 'hooks/useConfig'; -import SubCard from 'ui-component/cards/SubCard'; - -const InputFilled = () => { - const { outlinedFilled, onChangeOutlinedField } = useConfig(); - - return ( - - - - - onChangeOutlinedField(event.target.checked)} - inputProps={{ 'aria-label': 'controlled' }} - /> - - - - - - ); -}; - -export default InputFilled; diff --git a/src/layout/Customization/Layout.js b/src/layout/Customization/Layout.js index 70026ef..475126f 100755 --- a/src/layout/Customization/Layout.js +++ b/src/layout/Customization/Layout.js @@ -1,6 +1,6 @@ // material-ui import { useTheme } from '@mui/material/styles'; -import { FormControl, FormControlLabel, FormLabel, Radio, RadioGroup, Switch } from '@mui/material'; +import { FormControl, FormControlLabel, FormLabel, Radio, RadioGroup } from '@mui/material'; // project imports import useConfig from 'hooks/useConfig'; @@ -8,7 +8,7 @@ import SubCard from 'ui-component/cards/SubCard'; const Layout = () => { const theme = useTheme(); - const { navType, rtlLayout, onChangeMenuType, onChangeRTL } = useConfig(); + const { navType, onChangeMenuType } = useConfig(); return ( diff --git a/src/layout/Customization/index.js b/src/layout/Customization/index.js index 31a7793..72c6cc7 100755 --- a/src/layout/Customization/index.js +++ b/src/layout/Customization/index.js @@ -13,8 +13,6 @@ import BorderRadius from './BorderRadius'; import Layout from './Layout'; import PresetColor from './PresetColor'; import FontFamily from './FontFamily'; -import InputFilled from './InputFilled'; -import BoxContainer from './BoxContainer'; import AnimateButton from 'ui-component/extended/AnimateButton'; import { gridSpacing } from 'store/constant';