Dialog

In order to use Dialog (or any other of the 'common' components), you can import it from '$lib/components'.

typescript

And then use it in your Svelte template:

svelte

preview

The Dialog component is a simple Svelte component that accepts the following props:

typescript