Debian Codegraph @

node/@patternfly/react-table/dist/js/components/Table/EditableTextCell.d.ts

raw
1 /// <reference types="react" />
2 import { EditableTextCellProps } from './base/types';
3 export interface IEditableTextCell extends React.HTMLProps<HTMLDivElement> {
4 /** The current value of the text input */
5 value: string;
6 /** Row index of this text cell */
7 rowIndex: number;
8 /** Cell index of this text cell */
9 cellIndex: number;
10 /** Props to build the input */
11 props: EditableTextCellProps;
12 /** Event handler which fires when user changes the text in this cell */
13 handleTextInputChange: (newValue: string, event: React.FormEvent<HTMLInputElement>, rowIndex: number, cellIndex: number) => void;
14 /** accessible label of the text input */
15 inputAriaLabel: string;
16 /** flag indicating if the text input is disabled */
17 isDisabled?: boolean;
18 }
19 export declare const EditableTextCell: React.FunctionComponent<IEditableTextCell>;
20 //# sourceMappingURL=EditableTextCell.d.ts.map