Appearance
Preview
Preview is a component used to show a modal with a preview of a file. In terms of behaviour, we will not allow the modal to close when you click out of it. The modal will be closed when the user clicks on the close button.
Usage
For now, we have only developed the design system skin
Props
ComponentSkin skinIndicates which skin should be used for the component Default value: ComponentSkin.DESIGN_SYSTEMstring urlFile urlstring titleFile nameEvents
boolean closeEmitted when the preview should be closed