Skip to main content

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

ClassnameDescription
poll-feed-add-option-dialog-textText styling for add option dialog
lm-feed-create-post-wrapper__dialog-headingDialog header text styling
poll-feed-questionQuestion text styling
poll-option-add-more-iconIcon for adding more options
poll-option-wrapperContainer for poll options
multi-select-textText styling for multi-select option
lm-feed-create-post-wrapper lm-feed-poll-wrapperMain wrapper for poll creation
poll-feed-advance-options-questionQuestion styling in advanced options
poll-feed-advance-options-textText styling for advanced options
poll-feed-advance-optionsContainer for advanced options
cancelIconClose button icon styling
poll-feed-option-add-moreAdd more options button
lm-feed-create-post-wrapper__submit-button lm-mt-4 poll-feed-submit-button poll-feed-submit-button-disabledSubmit button with margin and disabled state
poll-option-removeRemove option button styling
poll-question-text-inputText input for poll question
poll-option-text-inputText input for poll options
poll-feed-display-optionsContainer for display options
lm-feed-create-post-wrapper__dialog-heading__textDialog heading text styling
add-more-textText styling for add more option
lm-avatar lm-mr-4Avatar image with right margin
poll-feed-advance-options-dropdownDropdown for advanced options
lm-feed-create-post-wrapper__user-metaUser metadata container
lm-feed-create-post-wrapperMain 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