LMQNAFeedCreatePollDialog
LMQNAFeedCreatePollDialog
renders the dialog for creating polls within QnA posts. It provides a specialized interface for adding poll questions and options to QnA content.
CSS Classnames
Classname | Description |
---|---|
poll-feed-add-option-dialog-text | Text styling for add option dialog |
lm-feed-create-post-wrapper__dialog-heading | Dialog header text styling |
poll-feed-question | Question text styling |
poll-option-add-more-icon | Icon for adding more options |
poll-option-wrapper | Container for poll options |
multi-select-text | Text styling for multi-select option |
lm-feed-create-post-wrapper lm-feed-poll-wrapper | Main wrapper for poll creation |
poll-feed-advance-options-question | Question styling in advanced options |
poll-feed-advance-options-text | Text styling for advanced options |
poll-feed-advance-options | Container for advanced options |
cancelIcon | Close button icon styling |
poll-feed-option-add-more | Add more options button |
lm-feed-create-post-wrapper__submit-button lm-mt-4 poll-feed-submit-button poll-feed-submit-button-disabled | Submit button with margin and disabled state |
poll-option-remove | Remove option button styling |
poll-question-text-input | Text input for poll question |
poll-option-text-input | Text input for poll options |
poll-feed-display-options | Container for display options |
lm-feed-create-post-wrapper__dialog-heading__text | Dialog heading text styling |
add-more-text | Text styling for add more option |
lm-avatar lm-mr-4 | Avatar image with right margin |
poll-feed-advance-options-dropdown | Dropdown for advanced options |
lm-feed-create-post-wrapper__user-meta | User metadata container |
lm-feed-create-post-wrapper | Main wrapper for poll creation |
Example
To customize the component with its classnames, open your base CSS file and override the styles using the classname:
.poll-feed-add-option-dialog-text {
font-size: 18px;
color: "red";
}
Reference
For reference, check out this file