import type { NextPage } from 'next';
import { MainLayout } from '../layout/MainLayout';
import { Toolbar } from '../../components/Toolbar';
import Table from '../../components/table/Table';

const CompaniaPage: NextPage = () => {

    return (
    <>
    <MainLayout title={'Compania'}  >
    <Toolbar pathForm='/compania/form' pathList='/compania/' currentEntity='' entityName=''/>
        <Table columns={['ruc','nombre','direccion']} endpoint={'compania'} />
    </MainLayout>
    </>
    )
}

export default CompaniaPage