TextCell
The TextCell template is used to display and manipulate text values within a cell.
Implementation
- Open
TextCellimplementation on GitHub (opens in a new tab)
Interface declaration
interface TextCellProps {
text: string;
onTextChanged: (newText: string) => void;
style?: React.CSSProperties;
}| Property name | Type | Description |
|---|---|---|
text | string | The text content of the cell. |
onTextChanged | (newText: string) => void | Callback function that is called when the user commits text changes. |
style? | React.CSSProperties | CSS properties to apply to the cell. |