@linzjs/step-ag-grid
Version:
[](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.
15 lines (14 loc) • 626 B
TypeScript
import { ReactElement } from 'react';
import { TextInputValidatorProps } from '../../utils/textValidator';
import { CellEditorCommon } from '../GridCell';
import { GridBaseRow } from '../types';
export interface GridFormTextAreaProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
placeholder?: string;
width?: string | number;
onSave?: (props: {
selectedRows: TData[];
value: string;
}) => Promise<boolean>;
helpText?: string;
}
export declare const GridFormTextArea: <TData extends GridBaseRow>(props: GridFormTextAreaProps<TData>) => ReactElement;