Created
January 29, 2019 10:09
-
-
Save thomasJang/adb5bfc8c537109e4bdd1b962d079eee to your computer and use it in GitHub Desktop.
Datagrid.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import { IDataGrid } from './common/@types'; | |
interface IProps extends IDataGrid.IProps { | |
} | |
interface IState extends IDataGrid.IRootState { | |
} | |
declare class DataGrid extends React.Component<IProps, IState> { | |
static defaultHeight: number; | |
static defaultColumnKeys: IDataGrid.IColumnKeys; | |
static defaultHeader: IDataGrid.IOptionHeader; | |
static defaultBody: IDataGrid.IOptionBody; | |
static defaultPageButtons: IDataGrid.IOptionPageButton[]; | |
static defaultPage: IDataGrid.IOptionPage; | |
static defaultScroller: IDataGrid.IOptionScroller; | |
static defaultOptions: IDataGrid.IOptions; | |
static defaultStyles: IDataGrid.IStyles; | |
static defaultThrottleWait: number; | |
rootObject: any; | |
rootNode: React.RefObject<HTMLDivElement>; | |
clipBoardNode: React.RefObject<HTMLTextAreaElement>; | |
scrollLeft: number; | |
scrollTop: number; | |
state: { | |
mounted: boolean; | |
}; | |
constructor(props: IProps); | |
getOptions: (options: IDataGrid.IOptions) => IDataGrid.IOptions; | |
getProviderProps: (storeProps: IDataGrid.IStoreProps) => IDataGrid.IStoreProps; | |
render(): JSX.Element; | |
componentDidMount(): void; | |
} | |
export default DataGrid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment