Skip to main content

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 NameGlobal classDescription
root.SCCustomAdv-rootStyles applied to the root element.
wrap.SCCustomAdv-wrapStyles applied to wrap an element.
image.SCCustomAdv-imageStyles applied to the image element.
embedCode.SCCustomAdv-embed-codeStyles applied to the embed code section.
prefixedHeight.SCCustomAdv-prefixed-heightStyles applied to handle a prefixed height.

Parameters

NameType
inPropsCustomAdvProps

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

Returns

JSX.Element

Defined in

packages/react-ui/src/components/CustomAdv/Skeleton.tsx:34