@@ -65,6 +65,8 @@ import { tv } from '../utils/tv'
|
65 | 65 | import UIcon from './Icon.vue' |
66 | 66 | import UAvatar from './Avatar.vue' |
67 | 67 | |
| 68 | +defineOptions({ inheritAttrs: false }) |
| 69 | + |
68 | 70 | const _props = withDefaults(defineProps<SeparatorProps>(), { |
69 | 71 | orientation: 'horizontal', |
70 | 72 | position: 'center' |
@@ -102,7 +104,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.separator ||
|
102 | 104 | </div> |
103 | 105 | </DefineContainer> |
104 | 106 | |
105 | | -<Separator v-bind="rootProps" data-slot="root" :class="ui.root({ class: [props.ui?.root, props.class] })"> |
| 107 | +<Separator v-bind="{ ...rootProps, ...$attrs }" data-slot="root" :class="ui.root({ class: [props.ui?.root, props.class] })"> |
106 | 108 | <ReuseContainer v-if="hasContent && props.position === 'start'" /> |
107 | 109 | |
108 | 110 | <div data-slot="border" :class="ui.border({ class: props.ui?.border })" /> |
|