@hypernetlabs/web-ui
Version:
Web ui react components for hypernet protocol
23 lines • 746 B
TypeScript
import React from "react";
import { TableCellProps } from "@material-ui/core";
import { IGovernanceButton } from "../../components/GovernanceButton";
interface IHeaderAction extends IGovernanceButton {
label: string;
}
export interface ITableCell {
tableCellProps?: TableCellProps;
mobileCellValue?: string | React.ReactNode;
cellValue?: string | React.ReactNode;
onlyVisibleInExpandedState?: boolean;
}
interface GovernanceTableProps {
title?: string;
description?: string;
headerAction?: IHeaderAction;
columns: ITableCell[];
rows: ITableCell[][];
isExpandable?: boolean;
}
export declare const GovernanceTable: React.FC<GovernanceTableProps>;
export {};
//# sourceMappingURL=GovernanceTable.d.ts.map