sws-frontend
Version:
sws frontend project
24 lines (23 loc) • 629 B
TypeScript
/// <reference types="react" />
import * as React from "react";
import "react-datagrid/index.css";
export declare type State = {
sortInfo: any[];
};
import "./table.scss";
declare class _Table extends React.Component<any, State> {
constructor(props: any);
componentWillUpdate(nextProps: any, nextState: any): void;
render(): JSX.Element;
}
export default _Table;
export declare type TableDropdownProps = {
id: string;
items: Item[];
onClick?: any;
};
export declare type Item = {
content: any;
onClick?: Function;
};
export declare const TableDropdown: (p: TableDropdownProps) => JSX.Element;