Skip to main content

Preview

Renders a preview of different types (image, video, audio or an iframe for any other types) from a source URL

Storybook Docs

Props

NameTypeDefaultDescription
url *string-Source url
defaultAspectRationumber-Default default aspect ratio of preview
defaultHeightnumber-Default height of the preview
defaultMimeTypestring-Default mime type of the preview
defaultWidthnumber-Default width of the preview