Add default props to confirm dialogue to silence warnings
This commit is contained in:
parent
cf9d261192
commit
735e0e5f02
|
@ -2,11 +2,11 @@
|
||||||
import { Modal, ModalTitle, ModalFooter } from "components/common/Modal"
|
import { Modal, ModalTitle, ModalFooter } from "components/common/Modal"
|
||||||
|
|
||||||
export let title = ""
|
export let title = ""
|
||||||
export let body
|
export let body = ""
|
||||||
export let okText
|
export let okText = "Confirm"
|
||||||
export let cancelText
|
export let cancelText = "Cancel"
|
||||||
export let onOk
|
export let onOk = () => {}
|
||||||
export let onCancel
|
export let onCancel = () => {}
|
||||||
|
|
||||||
let modal
|
let modal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue