Module: CustomAdv
Interfaces
Functions
CustomAdv
▸ CustomAdv(inProps
): JSX.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
Name | Type |
---|---|
inProps | CustomAdvProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CustomAdv/CustomAdv.tsx:86
CustomAdvSkeleton
▸ CustomAdvSkeleton(): JSX.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
JSX.Element