UseImageOrVideoAssetOptions
Table of contents
Options for useImageOrVideoAsset.
interface UseImageOrVideoAssetOptions {}Properties
assetId
The asset ID you want a URL for.
assetId: null | TLAssetId;shapeId
optional
The shape the asset is being used for. We won't update the resolved URL while the shape is off-screen.
shapeId?: TLShapeId;width
The width at which the asset will be displayed, in shape-space pixels.
width: number;Prev
UpdateArrowTargetStateOptsNext
VideoShapeOptions