mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(web): add Description column
This commit is contained in:
parent
758915d70c
commit
b14c0c2255
1 changed files with 5 additions and 1 deletions
|
|
@ -4,12 +4,16 @@ import { ColumnDef } from "@tanstack/react-table";
|
|||
|
||||
export type FilterList = {
|
||||
name: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
export const columns: ColumnDef<FilterList>[] = [
|
||||
{
|
||||
accessorKey: "name",
|
||||
header: "Name",
|
||||
cell: (info) => info.getValue(),
|
||||
},
|
||||
{
|
||||
accessorKey: "description",
|
||||
header: "Description",
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue