Skip to content

Commit

Permalink
fix(Button): Type attribute not being applied (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisGV04 authored Mar 14, 2024
1 parent 8cf9b84 commit 1056a9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/elements/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const linkProps = useForwardProps(() => getUiLinkProps(props));
<template>
<Primitive
v-bind="{ ...attrs, ...linkProps }"
:type="props.type"
:as-child="asChild"
:as="props.to ? UiLink : as"
:class="baseClasses"
Expand Down

0 comments on commit 1056a9f

Please sign in to comment.