Skip to content

Commit e1786e8

Browse files
feat: refactor
1 parent d8d0330 commit e1786e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@
5454
"scss",
5555
"pcss",
5656
"postcss"
57-
]
57+
],
58+
"typescript.tsdk": "node_modules/typescript/lib"
5859
}

packages/vue-primitives/src/toolbar/ToolbarToggleGroup.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ defineOptions({
77
name: 'ToolbarToggleGroup',
88
})
99
10-
const props = withDefaults(defineProps<ToolbarToggleGroupProps<T>>(), {
10+
withDefaults(defineProps<ToolbarToggleGroupProps<T>>(), {
1111
loop: true,
1212
})
1313
const context = useToolbarContext('ToolbarToggleGroup')
1414
</script>
1515

1616
<template>
1717
<ToggleGroupRoot
18-
:type="props.type"
18+
:type="type"
1919
:loop="loop"
2020
:data-orientation="context.orientation()"
2121
:dir="context.dir.value"

0 commit comments

Comments
 (0)