Feat/improve editable cell (#959)

* Removed isSomeInputInEditMode

* Removed console.log

* Added a first version of generic cell text

* Removed metadata from entity table  V1

* Fix

* Fix

* Fix
This commit is contained in:
Lucas Bordeau
2023-07-27 07:53:57 +02:00
committed by GitHub
parent 13f415a859
commit 011d9e840f
27 changed files with 705 additions and 92 deletions

View File

@ -0,0 +1,20 @@
import { IconBriefcase, IconMap } from '@tabler/icons-react';
import { EntityFieldMetadata } from '@/ui/table/types/EntityFieldMetadata';
export const peopleFieldMetadataArray: EntityFieldMetadata[] = [
{
fieldName: 'city',
label: 'City',
icon: <IconMap size={16} />,
columnSize: 150,
type: 'text',
},
{
fieldName: 'jobTitle',
label: 'Job title',
icon: <IconBriefcase size={16} />,
columnSize: 150,
type: 'text',
},
];