Joshua Shoemaker ba47edec4a
Convert to TS
refact: convert to TS
2022-06-19 18:52:17 -05:00

17 lines
474 B
TypeScript

import { tableConstructorProps, tableProps, tableRows } from "../types/tableTypes";
declare class Table {
id: string;
label: string;
rows: tableRows;
type: 'Table';
isValid: boolean;
constructor(props: tableConstructorProps);
getProperties: () => tableProps;
get headers(): string[];
export: () => tableRows;
setRows: (rows: tableRows) => void;
private validateConstructionProps;
private validateRows;
}
export default Table;