Widget
Interfaces
WidgetProps
API documentation for the Community-JS Widget component. Learn about the available props and the CSS API.
Import
import {Widget} from '@selfcommunity/react-ui';
Component Name
The name SCWidget
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCWidget-root | Styles applied to the root element. |
Extends
CardProps
Extended by
UserSuggestionWidgetProps
UserSubscribedGroupsWidgetProps
UserLiveStreamWidgetProps
UserFollowersWidgetProps
UserFollowedUsersWidgetProps
UserFollowedCategoriesWidgetProps
UserCreatedCoursesWidgetProps
UserConnectionsWidgetProps
UserConnectionsRequestsWidgetProps
UserConnectionsRequestsSentWidgetProps
UserProps
SuggestedEventsWidgetProps
RelatedFeedObjectWidgetProps
RelatedEventsWidgetProps
PollSuggestionWidgetProps
MyEventsWidgetProps
LoyaltyProgramWidgetProps
LiveStreamProps
LiveStreamSkeletonProps
GroupRequestsWidgetProps
GroupMembersWidgetProps
GroupInvitedWidgetProps
GroupProps
EventMembersWidgetProps
EventMediaWidgetProps
EventInfoWidgetProps
EventProps
EventSkeletonProps
CreateEventWidgetProps
CourseProps
CourseSkeletonProps
CommentObjectReplyProps
CategoryTrendingUsersWidgetProps
CategoryTrendingFeedWidgetProps
CategoryProps
CategoriesSuggestionWidgetProps
Indexable
[p
: string
]: any
Other props
Properties
Property | Type | Description | Overrides |
---|---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null | CardProps.className |
Variables
widget
widget:
ForwardRefExoticComponent
<Pick
<WidgetProps
, keyofWidgetProps
> &RefAttributes
<HTMLDivElement
>>