Skip to content

Commit

Permalink
fix(VBadge): use makeProps
Browse files Browse the repository at this point in the history
  • Loading branch information
nekosaur committed Apr 11, 2021
1 parent 6313d2f commit f02455b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vuetify/src/components/VBadge/VBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import { useBackgroundColor, useTextColor } from '@/composables/color'

// Utilities
import { computed, defineComponent, toRef } from 'vue'
import { convertToUnit, extract, maybeTransition } from '@/util'
import { convertToUnit, extract, makeProps, maybeTransition } from '@/util'

export default defineComponent({
name: 'VBadge',

inheritAttrs: false,

props: {
props: makeProps({
bordered: Boolean,
color: {
type: String,
Expand Down Expand Up @@ -57,7 +57,7 @@ export default defineComponent({
...makeRoundedProps(),
...makeTagProps(),
...makeTransitionProps({ transition: 'scale-rotate-transition' }),
},
}),

setup (props, ctx) {
const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(toRef(props, 'color'))
Expand Down

0 comments on commit f02455b

Please sign in to comment.