Skip to main content

Custom

The typeCell named component is used to handle any non-generic needs.

Example

H
{
typeCell: 'component',
renderComponent: () => <Avatar>H</Avatar>
}

Props

NameTypeRequiredDefaultDescription
renderComponentfuncYesFunction called to render the component. It receives an object argument containing the data of the current row and the event handlers (onClick, onChange, ...)
renderExportfuncNoFunction called for the export. It must return a string.