Lib: Add table component
This commit is contained in:
10
src/lib/components/Table.ts
Normal file
10
src/lib/components/Table.ts
Normal file
@ -0,0 +1,10 @@
|
||||
export interface TableColumn {
|
||||
/** The name of the property containing the value. */
|
||||
data_value_name: string;
|
||||
|
||||
/** The columnname for this property. */
|
||||
label: string;
|
||||
|
||||
/** Any function to further customize the displayed value. May return HTML. */
|
||||
valuefun?: (value: any) => string;
|
||||
}
|
||||
Reference in New Issue
Block a user