Installation
Examples
With Image
With Video
Props
Prop | Type | Description | Default |
---|---|---|---|
url | string | The URL to display in the Safari address bar | - |
imageSrc | string | The source URL of the image to display in the Safari window | - |
videoSrc | string | The source URL of the video to display in the Safari window | - |
width | number | The width of the Safari window | 1203 |
height | number | The height of the Safari window | 753 |
The Safari
component also accepts all properties of the SVGElement
type.