UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

38 lines (37 loc) 1.46 kB
import React from 'react'; import { IRow, IColumn } from '../../store/table'; import { RendererProps } from '../../factory'; import { Action } from '../Action'; interface TableRowProps extends Pick<RendererProps, 'render'> { mobileLayout: 'vertical' | 'horizontal'; onCheck: (item: IRow) => void; classPrefix: string; renderCell: (region: string, column: IColumn, item: IRow, props: any) => React.ReactNode; columns: Array<IColumn>; item: IRow; parent?: IRow; itemClassName?: string; itemIndex: number; regionPrefix?: string; checkOnItemClick?: boolean; ignoreFootableContent?: boolean; [propName: string]: any; stickyWidths: { [key: string]: number; }; headCurrentRows?: (index: number, val: any) => void; itemHighlight?: boolean; currentHighlight?: boolean; handleRowClick: any; } export declare class TableRow extends React.Component<TableRowProps> { dom: any; constructor(props: TableRowProps); componentDidMount(): void; handleItemClick(e: React.MouseEvent<HTMLTableRowElement>): void; handleAction(e: React.UIEvent<any>, action: Action, ctx: any): void; handleQuickChange(values: object, saveImmediately?: boolean, savePristine?: boolean, resetOnFailed?: boolean): void; handleChange(value: any, name: string, submit?: boolean, changePristine?: boolean): void; render(): JSX.Element | null; } export {};