Skip to main content

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 NameGlobal classDescription
root.SCWidget-rootStyles applied to the root element.

Extends

  • CardProps

Extended by

Indexable

[p: string]: any

Other props

Properties

PropertyTypeDescriptionOverrides
className?stringOverrides or extends the styles applied to the component. Default nullCardProps.className

Variables

widget

widget: ForwardRefExoticComponent<Pick<WidgetProps, keyof WidgetProps> & RefAttributes<HTMLDivElement>>