PrimitiveComponent
Base class for Kotlin primitive components. This class encapsulates some of the Mount Spec APIs. All Kotlin primitive components must extend this class.
Functions
This indicates the type of the Object that will be returned by mount.
Compare this component to a different one to check if they are equivalent. This is used to be able to skip rendering a component again.
Compares this component to a different one to check if they are the same
Should not be used! Components should be manually measured only as part of a LayoutState calculation. This will measure a component and set the size in the outputSize object but the measurement result will not be cached and reused for future measurements of this component.
This function must return LithoPrimitive which are immutable.