|
|
@ -8,11 +8,6 @@ |
|
|
import Context from "../context" |
|
|
import Context from "../context" |
|
|
const dispatch = createEventDispatcher() |
|
|
const dispatch = createEventDispatcher() |
|
|
|
|
|
|
|
|
export let padding = true |
|
|
|
|
|
export let width = '' |
|
|
|
|
|
export let border = true |
|
|
|
|
|
export let dismissable = true |
|
|
|
|
|
|
|
|
|
|
|
let visible = false |
|
|
let visible = false |
|
|
$: dispatch(visible ? "show" : "hide") |
|
|
$: dispatch(visible ? "show" : "hide") |
|
|
|
|
|
|
|
|
@ -51,4 +46,4 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</Portal> |
|
|
</Portal> |
|
|
{/if} |
|
|
{/if} |