VoteAudienceButton
Interfaces
VoteAudienceButtonProps
Extends
Pick<LoadingButtonProps,Exclude<keyofLoadingButtonProps,"onClick"|"disabled"|"loading">>
Indexable
[p: string]: any
Others properties
Properties
Functions
VoteAudienceButton()
VoteAudienceButton(
inProps):Element
API documentation for the Community-JS Vote Audience Button component. Learn about the available props and the CSS API.
Import
import {VoteAudienceButton} from '@selfcommunity/react-ui';
Component Name
The name SCVoteAudienceButton can be used when providing style overrides in the theme.
CSS
| Rule Name | Global class | Description |
|---|---|---|
| root | .SCVoteAudienceButton-root | Styles applied to the root element. |
| reactionList | .SCVoteAudienceButton-reactions | Styles applied to the reactionList list element. |
| dialogRoot | .SCVoteAudienceButton-dialog-root | Styles applied to the dialog root element. |
| dialogTabs | .SCVoteAudienceButton-dialog-tabs | Styles applied to the tabs element. |
| dialogVoteBadge | .SCVoteAudienceButton-dialog-vote-badge | Styles applied to the vote badge element. |
Parameters
| Parameter | Type | Description |
|---|---|---|
inProps | VoteAudienceButtonProps |
Returns
Element