mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(namespace): migrate namespace access view to react [r8s-141] (#87)
This commit is contained in:
parent
8ed7cd80cb
commit
e9fc6d5598
62 changed files with 1018 additions and 610 deletions
|
@ -0,0 +1,5 @@
|
|||
import { createColumnHelper } from '@tanstack/react-table';
|
||||
|
||||
import { NamespaceAccess } from '../../types';
|
||||
|
||||
export const helper = createColumnHelper<NamespaceAccess>();
|
|
@ -0,0 +1,5 @@
|
|||
import { helper } from './helper';
|
||||
|
||||
export const name = helper.accessor('name', {
|
||||
header: 'Name',
|
||||
});
|
|
@ -0,0 +1,5 @@
|
|||
import { helper } from './helper';
|
||||
|
||||
export const entityType = helper.accessor('type', {
|
||||
header: 'Type',
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue