@@ -12,24 +12,21 @@ import OptionalExpandLink from '../tag-list/OptionalExpandLink';
1212
1313/**
1414 * Props for the EditableCell component.
15- * @interface EditableCellProps
16- * @property {string } [initialValue] - The initial value to display in the cell
17- * @property {function } [onKeyDown] - Callback function triggered on keyboard events
18- * @property {function } [onChange] - Callback function triggered when the input value changes
19- * @property {string } [errorMessage] - Error message to display if validation fails
20- * @property {boolean } [isSaving] - Indicates whether the cell value is currently being saved to the server
21- * @property {boolean } [autoFocus] - If true, the input field will automatically receive focus when the cell
22- * enters edit mode
23- * @property {function } [getInlineValidationMessage] - Function that returns a validation message to be displayed
24- * based on the current input value.
2515 */
2616interface EditableCellProps {
17+ /** The initial value to display in the cell */
2718 initialValue ?: string ;
19+ /** Callback function triggered on keyboard events */
2820 onKeyDown ?: ( event : React . KeyboardEvent < HTMLInputElement > ) => void ;
21+ /** Callback function triggered when the input value changes */
2922 onChange ?: ( event : React . ChangeEvent < HTMLInputElement > ) => void ;
23+ /** Error message to display if validation fails */
3024 errorMessage ?: string ;
25+ /** Indicates whether the cell value is currently being saved to the server */
3126 isSaving ?: boolean ;
27+ /** If true, the input field will automatically receive focus when the cell enters edit mode */
3228 autoFocus ?: boolean ;
29+ /** Function that returns a validation message to be displayed based on the current input value. */
3330 getInlineValidationMessage ?: ( value : string ) => string ;
3431}
3532
0 commit comments