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