TextCell

The TextCell template is used to display and manipulate text values within a cell.

Implementation

Interface declaration

interface TextCellProps {
  text: string;
  onTextChanged: (newText: string) => void;
  style?: React.CSSProperties;
}
Property nameTypeDescription
textstringThe text content of the cell.
onTextChanged(newText: string) => voidCallback function that is called when the user commits text changes.
style?React.CSSPropertiesCSS properties to apply to the cell.