Module: CategoriesSuggestionWidget
Interfaces
Functions
CategoriesSuggestionWidget
▸ CategoriesSuggestionWidget(inProps
): JSX.Element
API documentation for the Community-JS Categories Suggestion component. Learn about the available props and the CSS API.
This component renders a list of suggested categories. Take a look at our demo component here
Import
import {CategoriesSuggestionWidget} from '@selfcommunity/react-ui';
Component Name
The name SCCategoriesSuggestionWidget
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoriesSuggestionWidget-root | Styles applied to the root element. |
title | .SCCategoriesSuggestionWidget-title | Styles applied to the title element. |
noResults | .SCCategoriesSuggestionWidget-no-results | Styles applied to no results section. |
showMore | .SCCategoriesSuggestionWidget-show-more | Styles applied to show more button element. |
dialogRoot | .SCCategoriesSuggestionWidget-dialog-root | Styles applied to the root dialog element. |
endMessage | .SCCategoriesSuggestionWidget-end-message | Styles applied to the end message element. |
Parameters
Name | Type |
---|---|
inProps | CategoriesSuggestionWidgetProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.tsx:104
CategoriesSuggestionWidgetSkeleton
▸ CategoriesSuggestionWidgetSkeleton(props
): JSX.Element
API documentation for the Community-JS Categories Suggestion Widget Skeleton component. Learn about the available props and the CSS API.
Import
import {CategoriesSuggestionWidgetSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCCategoriesSuggestionWidget-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoriesSuggestionWidget-skeleton-root | Styles applied to the root element. |
list | .SCCategoriesSuggestionWidget-list | Styles applied to the list element. |
Parameters
Name | Type |
---|---|
props | any |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/CategoriesSuggestionWidget/Skeleton.tsx:39