Skip to content
On this page

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_SYSTEM
pandads
boolean showFlag to show and hide the modal Default value: false
string urlFile url
string titleFile name

Events

boolean closeEmitted when the preview should be closed

Type declarations