Skip to main content

SuggestedEventsWidget

Interfaces

ArrowProps

Properties

PropertyType
className?string
currentItemnumber
setCurrentItemDispatch<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 NameGlobal classDescription
root.SCWidget-rootStyles applied to the root element.

Extends

Indexable

[p: string]: any

Other props

Properties

PropertyTypeDescriptionInherited from
className?stringOverrides or extends the styles applied to the component. Default nullWidgetProps.className
endpointQueryParams?Record<string, string | number>Feed API Query Params Default [{'limit': 20, 'offset': 0}]-

Functions

Arrow()

Arrow(props): Element

Parameters

ParameterType
propsArrowProps

Returns

Element


SuggestedEventsWidget()

SuggestedEventsWidget(inProps): Element

Parameters

ParameterType
inPropsSuggestedEventsWidgetProps

Returns

Element


SuggestedEventsWidgetSkeleton()

SuggestedEventsWidgetSkeleton(): Element

Returns

Element