Interface: WidgetProps
Widget.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. |
Hierarchy
-
CardProps
↳
WidgetProps
↳↳
CategoriesSuggestionWidgetProps
↳↳
CategoryTrendingFeedWidgetProps
↳↳
CategoryTrendingUsersWidgetProps
↳↳
RelatedFeedObjectWidgetProps
↳↳
UserProps
↳↳
UserConnectionsRequestsSentWidgetProps
↳↳
UserConnectionsRequestsWidgetProps
↳↳
UserFollowedCategoriesWidgetProps
Indexable
▪ [p: string
]: any
Other props
Properties
className
• Optional
className: string
Overrides or extends the styles applied to the component.
Default
null
Overrides
CardProps.className