uui-file-preview
Umbraco style file-preview component.
See it in action
Preview the component on Storybook
Installation
ES imports
npm i @umbraco-ui/uui-file-preview
Import the registration of <uui-file-preview>
via:
import '@umbraco-ui/uui-file-preview';
When looking to leverage the UUIFilePreviewElement
base class as a type and/or for extension purposes, do so via:
import { UUIFilePreviewElement } from '@umbraco-ui/uui-file-preview';
Usage
<uui-file-preview></uui-file-preview>