CustomAdv
Interfaces
CustomAdvProps
Extends
VirtualScrollerItemProps
Properties
Functions
CustomAdv()
CustomAdv(
inProps
):Element
API documentation for the Community-JS CustomAdv component. Learn about the available props and the CSS API.
This component renders custom adv banners. Take a look at our demo component here
Import
import {CustomAdv} from '@selfcommunity/react-ui';
Component Name
The name SCCustomAdv
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCustomAdv-root | Styles applied to the root element. |
wrap | .SCCustomAdv-wrap | Styles applied to wrap an element. |
image | .SCCustomAdv-image | Styles applied to the image element. |
embedCode | .SCCustomAdv-embed-code | Styles applied to the embed code section. |
prefixedHeight | .SCCustomAdv-prefixed-height | Styles applied to handle a prefixed height. |
Parameters
Parameter | Type | Description |
---|---|---|
inProps | CustomAdvProps |
Returns
Element
CustomAdvSkeleton()
CustomAdvSkeleton():
Element
API documentation for the Community-JS Custom Adv Skeleton component. Learn about the available props and the CSS API.
Import
import {CustomAdvSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCCustomAdv-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCustomAdv-skeleton-root | Styles applied to the root element. |
Returns
Element