Skip to content

Commit a1cf7e7

Browse files
committed
fix(button): include 'fitContent' in omitted props for button component
1 parent 98039c4 commit a1cf7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/button/button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const emit = defineEmits<ButtonEmits>();
1717
1818
const buttonGroupContext = useButtonGroupContext();
1919
20-
const forwardedProps = useOmitProps(props, ['size', 'color', 'variant', 'shape', 'shadow', 'disabled']);
20+
const forwardedProps = useOmitProps(props, ['size', 'color', 'variant', 'shape', 'shadow', 'disabled', 'fitContent']);
2121
2222
const cls = computed(() => {
2323
const { size, color, variant, shape, shadow, fitContent } = buttonGroupContext || {};

0 commit comments

Comments
 (0)