API

Import

import { UserRow } from "@botstacks/chat-react";

Props

NameTypeDefaultDescription
classNamestringCustom classes
userIUserThe user object to display
isActivebooleanfalseIf true, uses primary theme to style
isSelectablebooleanfalseIf true, allows row to be selectable
isSelectedbooleanfalseIf true, adds a check mark to the row
onClick() => voidClick callback function