Skip to main content

FriendshipUserButton

Interfaces

FriendshipButtonProps

Indexable

[p: string]: any

Others properties

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component. Default null
onChangeConnectionStatus?(user, status) => anyonChangeConnectionStatus callback
user?SCUserTypeUser Default null
userId?numberId of the user Default null

Functions

FriendshipUserButton()

FriendshipUserButton(inProps): Element

API documentation for the Community-JS Friendship User Button component. Learn about the available props and the CSS API.

Import

import {FriendshipUserButton} from '@selfcommunity/react-ui';

Component Name

The name SCFriendshipUserButton can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCFriendshipUserButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsFriendshipButtonProps

Returns

Element