Module: PlatformWidget
Interfaces
Functions
PlatformWidget
▸ PlatformWidget(inProps
): JSX.Element
API documentation for the Community-JS PlatformWidget component. Learn about the available props and the CSS API.
This component renders a widget containing the links that allow users and moderators to handle their application content. Take a look at our demo component here
Import
import {PlatformWidget} from '@selfcommunity/react-ui';
Component Name
The name SCPlatformWidget
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCPlatformWidget-root | Styles applied to the root element. |
title | .SCPlatformWidget-title | Styles applied to the title element. |
Parameters
Name | Type |
---|---|
inProps | PlatformWidgetProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/PlatformWidget/PlatformWidget.tsx:71
PlatformWidgetSkeleton
▸ PlatformWidgetSkeleton(): JSX.Element
API documentation for the Community-JS Platform Skeleton component. Learn about the available props and the CSS API.
Import
import {PlatformWidgetSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCPlatformWidget-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCPlatformWidget-skeleton-root | Styles applied to the root element. |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/PlatformWidget/Skeleton.tsx:35