* Refactored tables without tan stack * Fixed checkbox behavior with multiple handlers on click * Fixed hotkeys scope * Fix debounce in editable cells * Lowered coverage --------- Co-authored-by: Charles Bochet <charles@twenty.com>
26 lines
752 B
TypeScript
26 lines
752 B
TypeScript
import { IconList } from '@tabler/icons-react';
|
|
|
|
import { companyColumns } from '@/companies/table/components/companyColumns';
|
|
import { EntityTable } from '@/ui/components/table/EntityTable';
|
|
import { HooksEntityTable } from '@/ui/components/table/HooksEntityTable';
|
|
|
|
import { companiesFilters } from './companies-filters';
|
|
import { availableSorts } from './companies-sorts';
|
|
|
|
export function CompanyTableMockMode() {
|
|
return (
|
|
<>
|
|
<HooksEntityTable
|
|
numberOfColumns={companyColumns.length}
|
|
availableFilters={companiesFilters}
|
|
/>
|
|
<EntityTable
|
|
columns={companyColumns}
|
|
viewName="All Companies"
|
|
viewIcon={<IconList size={16} />}
|
|
availableSorts={availableSorts}
|
|
/>
|
|
</>
|
|
);
|
|
}
|