CellProfile renders a table cell with an avatar, name, and optional
description. It is one of the cell components (Cell, CellText,
CellProfile) that must be used as the top-level element returned
from ColumnConfig.cell or a custom RowRenderFn.
Whether the cell should support arrow key navigation even when the containing table uses
tab keyboard navigation. Allows users to navigate between cells and rows with arrow keys while
focus is on an interactive child element within the cell.
Optionalchildren
children?:ChildrenOrFunction<CellRenderProps>
The children of the component. A function may be provided to alter the children based on
component state.
Whether the cell or its first focusable child element should be focused when the cell is
focused. Defaults to 'child' in arrow keyboard navigation mode and 'cell' in tab keyboard
navigation mode.
Overrides the default DOM element with a custom render function.
This allows rendering existing components with built-in styles and behaviors
such as router links, animation libraries, and pre-styled components.
Requirements:
You must render the expected element type (e.g. if <button> is expected, you cannot render an
<a>).
Only a single root DOM element can be rendered (no fragments).
You must pass through props and ref to the underlying DOM element, merging with your own prop
as appropriate.
Optionalsrc
src?:string
Optionalstyle
style?:StyleOrFunction<CellRenderProps>
The inline style for the
element. A function may be provided to compute the style based on component state.
OptionalsuppressHydrationWarning
suppressHydrationWarning?:boolean
A React-only flag that suppresses the warning React normally logs when an element's
server-rendered content doesn't match the client render during hydration. See React
docs.
OptionaltextValue
textValue?:string
A string representation of the cell's contents, used for features like typeahead.
Props for the CellProfile component.
CellProfilerenders a table cell with an avatar, name, and optional description. It is one of the cell components (Cell,CellText,CellProfile) that must be used as the top-level element returned from ColumnConfig.cell or a custom RowRenderFn.