Skip to main content

Interface: LoyaltyProgramWidgetProps

LoyaltyProgramWidget.LoyaltyProgramWidgetProps

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.

Hierarchy

Properties

className

Optional className: string

Overrides or extends the styles applied to the component.

Default

null

Inherited from

WidgetProps.className

Defined in

packages/react-ui/src/components/Widget/index.tsx:45


userId

Optional userId: number

The user id

Default

null

Defined in

packages/react-ui/src/components/LoyaltyProgramWidget/LoyaltyProgramWidget.tsx:36