Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 9512 | Rev 9517 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 9512 Rev 9515
Línea 1... Línea 1...
1
import React, { useState, useEffect } from 'react'
1
import React, { useState, useEffect } from 'react'
2
import axios from 'axios'
2
import axios from 'axios'
3
import { Card } from 'react-bootstrap'
3
import { Card } from 'react-bootstrap'
4
import { TablePagination } from '../components/TableComponents'
4
import { TablePagination } from '../components/TableComponents'
Línea 5... Línea -...
5
 
-
 
6
const headers = [
-
 
7
  { key: "name", label: "Nombre", isSorteable: true },
-
 
8
  { key: "minimum_no_of_employee", label: "Mínimo", isSorteable: true },
-
 
9
  { key: "maximum_no_of_employee", label: "Máximo", isSorteable: true },
-
 
10
  { key: "status", label: "Activo", isSorteable: false },
-
 
11
  { key: "actions", label: "Acciones", isSorteable: false }
-
 
12
]
-
 
13
 
5
 
Línea 14... Línea 6...
14
const MainView = ({ add_link, dashboard_link, permisions, table_link }) => {
6
const MainView = ({  table_link }) => {
15
 
7
 
16
  const [data, setData] = useState({})
8
  const [data, setData] = useState({})
17
  const [dataLength, setDataLength] = useState(10);
9
  const [dataLength, setDataLength] = useState(10);