xos-table component with minimal configuration
Change-Id: If1af35fcb30556c5ca34ffeb2b6e2b11fc87ffae
diff --git a/src/app/interfaces/xos-components/table.interface.ts b/src/app/interfaces/xos-components/table.interface.ts
new file mode 100644
index 0000000..657c89d
--- /dev/null
+++ b/src/app/interfaces/xos-components/table.interface.ts
@@ -0,0 +1,18 @@
+export interface IXosTableConfigColumn {
+ label: string;
+ prop: string;
+}
+
+export interface IXosTableConfigActionCallback {
+ (item: string): void;
+}
+
+export interface IXosTableConfigAction {
+ label: string;
+ cb: IXosTableConfigActionCallback
+}
+
+export interface IXosTableConfig {
+ columns: IXosTableConfigColumn[];
+ actions?: IXosTableConfigAction[];
+}
\ No newline at end of file