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