Skip to main content

Icon

Overview

LMIcon is a customizable icon component that supports various styles and sizes, allowing the display of icons from different sources. It provides flexibility in rendering icons and integrates easily into user interfaces with configurable properties for appearance and functionality.

LMFeedPostContent

Customisation

PropertyTypeDescription
iconUrlstringRepresents the URL of the icon.
assetPathObjectRepresents the path of the local image.
colorstringRepresents the tint color of the icon.
heightnumberRepresents the height of the icon.
widthnumberRepresents the width of the icon.
iconStyleImageStyleRepresents the style of the icon.
boxFit'center' or 'contain' or 'cover' or 'repeat' or 'stretch'Defines the fit behavior of the icon inside the surrounding box.
boxStyleViewStyleRepresents the style of the view.