PaymentProduct
Interfaces
PaymentProductProps
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
Other props
Properties
| Property | Type | Description | Overrides | 
|---|---|---|---|
| className? | string | Overrides or extends the styles applied to the component. Default null | WidgetProps.className | 
| content? | SCPurchasableContent | - | - | 
| contentId? | string|number | - | - | 
| contentType? | SCContentType | - | - | 
| hideDescription? | boolean | - | - | 
| hidePaymentProductPrices? | boolean | - | - | 
| onUpdatePaymentOrder? | ( price,contentType?,contentId?) =>void | - | - | 
| paymentOrder? | SCPaymentOrder | - | - | 
| paymentProduct? | SCPaymentProduct | - | - | 
| paymentProductId? | number | - | - | 
| PaymentProductPriceComponentProps? | PaymentProductPriceProps | - | - | 
| template? | SCPaymentProductTemplateType | - | - | 
Functions
PaymentProduct()
PaymentProduct(
inProps):Element
Parameters
| Parameter | Type | 
|---|---|
| inProps | PaymentProductProps | 
Returns
Element