Renders a row table cell showing a particular user. This cell takes the user
object as its children, which is in turn compatible with the NerdGraph user
object (needing, at the very least, the name
and gravatar
fields).
Usage
import { UserTableRowCell } from 'nr1'
Examples
Example 1
Props
Appends class names to the component.
Should be used only for positioning and spacing purposes.
Callback fired any time the user clicks on the table cell.
function (event: Event ) => undefined
Inline style for custom styling.
Should be used only for positioning and spacing purposes.
Adds a data-test-id
.
Used to target the component in unit and e2e testing.
Location object or url string to link to.
shape
User object, that requires (at least), the name
and gravatar
fields. This object matches with the user structure obtained from
NerdGraph.
shape
Methods
UserTableRowCell.render
function () => undefined