mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-15 15:46:09 +00:00
feat: added settings in room to kick
This commit is contained in:
@@ -16,19 +16,26 @@ defineOptions({
|
||||
inheritAttrs: false,
|
||||
})
|
||||
|
||||
const props = withDefaults(defineProps<DialogContentProps & { class?: HTMLAttributes["class"], showCloseButton?: boolean }>(), {
|
||||
showCloseButton: true,
|
||||
})
|
||||
const props = withDefaults(
|
||||
defineProps<DialogContentProps & {
|
||||
class?: HTMLAttributes["class"]
|
||||
overlayClass?: HTMLAttributes["class"]
|
||||
showCloseButton?: boolean
|
||||
}>(),
|
||||
{
|
||||
showCloseButton: true,
|
||||
},
|
||||
)
|
||||
const emits = defineEmits<DialogContentEmits>()
|
||||
|
||||
const delegatedProps = reactiveOmit(props, "class")
|
||||
const delegatedProps = reactiveOmit(props, "class", "overlayClass", "showCloseButton")
|
||||
|
||||
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DialogPortal>
|
||||
<DialogOverlay />
|
||||
<DialogOverlay :class="props.overlayClass" />
|
||||
<DialogContent
|
||||
data-slot="dialog-content"
|
||||
v-bind="{ ...$attrs, ...forwarded }"
|
||||
|
||||
Reference in New Issue
Block a user