Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12483 | Rev 12492 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import axios from 'axios'
import React, { useState, useEffect } from 'react'
import { Card } from 'react-bootstrap'
import { useDispatch } from 'react-redux'
import { useHistory } from 'react-router-dom'
import { LengthFilter, SearchInput, Table, TablePagination } from '../../../recruitment_and_selection/components/TableComponents'
import { addNotification } from '../../../redux/notification/notification.actions'
import DeleteModal from '../../../shared/DeleteModal'

const headers = [
        { key: 'name', label: 'Nombre', isSorteable: true },
        { key: 'description', label: 'Descripción', isSorteable: true },
        { key: 'status', label: 'Estatus', isSorteable: false },
        { key: 'actions', label: 'Acciones', isSorteable: false }
]

const TableView = ({ table_link, setActionLink, permisions, add_link }) => {

        const history = useHistory()
        const dispatch = useDispatch()
        const [showDeleteModal, setShowDeleteModal] = useState(false)
        const [deleteLink, setDeleteLink] = useState('')
        const [items, setItems] = useState({})
        const [search, setSearch] = useState('')
        const [startItem, setStartItem] = useState(1)
        const [lastItem, setLastItem] = useState(10)
        const [total, setTotal] = useState(10)
        const [dataLength, setDataLength] = useState(10)
        const [pages, setPages] = useState({
                current: 1,
                last: 1
        })

        return (
                <>
                        <h1>Hello</h1>
                </>
        )
}

export default TableView