|
@@ -0,0 +1,67 @@
|
|
1
|
+import * as React from 'react';
|
|
2
|
+
|
|
3
|
+// import { rows, action_icon, Comparar, Cuerpo, } from '../Components/Password/config.js';
|
|
4
|
+import { default as CustomToolbar} from '../Components/Password/CustomToolbar';
|
|
5
|
+
|
|
6
|
+import {
|
|
7
|
+ // Table, TableBody, TableCell, TableContainer, TableRow, TablePagination,
|
|
8
|
+ Paper, Box,
|
|
9
|
+ // Switch, FormControlLabel, Checkbox,
|
|
10
|
+} from '@mui/material';
|
|
11
|
+
|
|
12
|
+// import { EditSharp, MailSharp } from '@mui/icons-material'
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+import MUIDataTable from "mui-datatables";
|
|
17
|
+
|
|
18
|
+const columns = ["Name", "Company", "City", "State"];
|
|
19
|
+
|
|
20
|
+const data = [
|
|
21
|
+ ["Joe James", "Test Corp", "Yonkers", "NY"],
|
|
22
|
+ ["John Walsh", "Test Corp", "Hartford", "CT"],
|
|
23
|
+ ["Bob Herm", "Test Corp", "Tampa", "FL"],
|
|
24
|
+ ["James Houston", "Test Corp", "Dallas", "TX"],
|
|
25
|
+];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+export function Contrasv2() {
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+ const columns = ["Name", "Company", "City", "State"];
|
|
32
|
+
|
|
33
|
+ const data = [
|
|
34
|
+ ["Joe James", "Test Corp", "Yonkers", "NY"],
|
|
35
|
+ ["John Walsh", "Test Corp", "Hartford", "CT"],
|
|
36
|
+ ["Bob Herm", "Test Corp", "Tampa", "FL"],
|
|
37
|
+ ["James Houston", "Test Corp", "Dallas", "TX"],
|
|
38
|
+ ];
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+ const options = {
|
|
42
|
+ filterType: 'checkbox',
|
|
43
|
+ customToolbar: () => {
|
|
44
|
+ return (
|
|
45
|
+ <CustomToolbar />
|
|
46
|
+ );
|
|
47
|
+ }
|
|
48
|
+ };
|
|
49
|
+
|
|
50
|
+ return (
|
|
51
|
+ <div className="content-section">
|
|
52
|
+ <div className="main">
|
|
53
|
+ <Box sx={{ width: '100%' }}>
|
|
54
|
+ <Paper sx={{ width: '100%', mb: 2 }}>
|
|
55
|
+ <MUIDataTable
|
|
56
|
+ title={"Contraseñas"}
|
|
57
|
+ data={data}
|
|
58
|
+ columns={columns}
|
|
59
|
+ options={options}
|
|
60
|
+ />
|
|
61
|
+ </Paper>
|
|
62
|
+ </Box>
|
|
63
|
+ </div>
|
|
64
|
+ </div>
|
|
65
|
+ );
|
|
66
|
+
|
|
67
|
+}
|