Przeglądaj źródła

Add Modals typography

create-reusable-mui-modal
mladen.dubovac 4 lat temu
rodzic
commit
4587db9549
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      src/pages/HomePage/HomePageMUI.js

+ 3
- 1
src/pages/HomePage/HomePageMUI.js Wyświetl plik

@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { Box, Button, Paper, Typography } from '@mui/material';
import { Box, Button, Divider, Paper, Typography } from '@mui/material';
import DialogComponent from '../../components/MUI/DialogComponent';
import DrawerComponent from '../../components/MUI/DrawerComponent';
import Navbar from '../../components/MUI/Navbar';
@@ -29,6 +29,8 @@ const HomePage = () => {
flexDirection: 'column',
}}
>
<Typography variant="h4" gutterBottom align="center">Modals</Typography>
<Divider />
<Button onClick={() => setDialogOpen(true)}>Open Dialog</Button>
<Button onClick={() => setDrawerOpen(true)}>Open Drawer</Button>
<Button

Ładowanie…
Anuluj
Zapisz