Skip to content

Commit

Permalink
✨ DateTimePicker 출력 및 한글 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
GeonWoo-LPS committed Jan 10, 2025
1 parent 16e5244 commit 8d085b9
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
import { Outlet } from 'react-router-dom';
import { LocalizationProvider } from '@mui/x-date-pickers';
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
import 'dayjs/locale/ko';
import './App.css';
import Footer from './components/Layout/Footer';

function App() {
return (
<div className="max-w-md m-auto relative font-sans text-font1">
<main>
<Outlet />
</main>
<Footer />
</div>
<LocalizationProvider dateAdapter={AdapterDayjs} adapterLocale="ko">
<div className="max-w-md m-auto relative font-sans text-font1">
<main>
<Outlet />
</main>
<Footer />
</div>
</LocalizationProvider>
);
}

Expand Down

0 comments on commit 8d085b9

Please sign in to comment.