Skip to main content

LMFeedMediaUpload

LMFeedMediaUpload handles the media upload functionality for feed posts, supporting multiple file types including images and videos. It manages upload progress, preview generation, and error handling for media attachments.

CSS Classnames

ClassnameDescription
file-upload-inputInput field for file upload functionality
close-icon removeIconClose/remove button icon styling
lm-feed-create-post-wrapper__media-uploadMain container for media upload section
file-upload-textText label for file upload section
lm-feed-create-post-wrapper__media-upload uploadThumbnailThumbnail preview container for uploaded media
close-iconClose button styling
file-upload-subtextSecondary text for file upload instructions
tempReelTemporary container for reel media
file-upload-iconIcon styling for file upload button

Example

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

.file-upload-input {
font-size: 18px;
color: "red";
}

Reference

For reference, check out this file