SuggestedEventsWidget
Interfaces
ArrowProps
Properties
Property | Type |
---|---|
className? | string |
currentItem | number |
setCurrentItem | Dispatch <SetStateAction <number >> |
type | "next" | "prev" |
SuggestedEventsWidgetProps
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
Indexable
[p
: string
]: any
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
className? | string | Overrides or extends the styles applied to the component. Default null | WidgetProps .className |
endpointQueryParams? | Record <string , string | number > | Feed API Query Params Default [{'limit': 20, 'offset': 0}] | - |
Functions
Arrow()
Arrow(
props
):Element
Parameters
Parameter | Type |
---|---|
props | ArrowProps |
Returns
Element
Source
packages/react-ui/src/components/SuggestedEventsWidget/Arrow.tsx:12
SuggestedEventsWidget()
SuggestedEventsWidget(
inProps
):Element
Parameters
Parameter | Type |
---|---|
inProps | SuggestedEventsWidgetProps |
Returns
Element
Source
packages/react-ui/src/components/SuggestedEventsWidget/SuggestedEventsWidget.tsx:58
SuggestedEventsWidgetSkeleton()
SuggestedEventsWidgetSkeleton():
Element
Returns
Element
Source
packages/react-ui/src/components/SuggestedEventsWidget/Skeleton.tsx:24