@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.
12 lines (11 loc) • 586 B
TypeScript
import { ReactElement } from 'react';
import { TextInputValidatorProps } from '../../utils/textValidator';
import { CellEditorCommon } from '../GridCell';
import { GridBaseRow } from '../types';
export interface GridFormSubComponentTextInputProps<TData extends GridBaseRow> extends TextInputValidatorProps<TData>, CellEditorCommon {
placeholder?: string;
width?: string | number;
defaultValue: string;
helpText?: string;
}
export declare const GridFormSubComponentTextInput: <TData extends GridBaseRow>(props: GridFormSubComponentTextInputProps<TData>) => ReactElement;