Skip to main content

LMFeedCreatePollDialog

LMFeedCreatePollDialog renders the poll creation interface, allowing users to create polls with multiple options and duration settings. It handles poll question input, option management, and submission.

CSS Classnames

ClassnameDescription
poll-creation-textarea poll-question-custom-styleText area styling for poll question
poll-advanced-option-parent poll-advance-options-text-custom-styleContainer for advanced poll options
poll-expires-headingHeading text for poll expiration
custom-select-textCustom select dropdown styling
lm-poll-creation-bodyMain body container for poll creation
poll-advanced-option-toggleToggle button for advanced options
poll-advanced-option-textText styling for advanced options
poll-create-button-parentContainer for poll creation button
add-more-textText styling for add more option
poll-advanced-select-option-labelLabel styling for advanced select options
lm-feed-create-post-wrapper__dialog-headingDialog header text styling
poll-advace-option-switch-custom-styleCustom styling for option switches
poll-advanced-switch-optionSwitch option styling
poll-advanced-options-containerContainer for advanced options
poll-advanced-select-optionSelect option styling
cancelIconClose button icon styling
poll-options-containerContainer for poll options
poll-option-wrapperWrapper for individual poll options
poll-expiry-field poll-expiry-time-custom-styleExpiry time field styling
custom-select-text poll-dropdown-menu-custom-styleCustom dropdown menu styling
poll-options-head-textHeading text for poll options
poll-advanced-select-option-positionPosition styling for advanced select options
poll-option-add-more-iconIcon for adding more options
lm-feed-create-post-wrapperMain wrapper for poll creation dialog
poll-option-text-input poll-options-custom-styleText input styling for poll options
poll-option-add-moreAdd more option button styling
poll-option-remove lm-cursor-pointerRemove option button with hover effect

Example

To customise the component with their classnames, open your base CSS file and override the styles using the classname:

.poll-creation-textarea poll-question-custom-style {
font-size: 18px;
color: "red";
}

Reference

For reference, check out this file