Skip to content

Commit

Permalink
refactor: use enums
Browse files Browse the repository at this point in the history
  • Loading branch information
caro3801 committed Aug 28, 2024
1 parent 28757e5 commit 6113a6b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Form/FormActions/FormActionsCompact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ import { computed, watch, provide } from 'vue'
import FormActionsCompactDropdown from './FormActionsCompactDropdown'
import { VARIANT, variantValidator } from '@/enums/variants'
import { buttonSizeValidator, SIZE } from '@/enums/sizes'
const props = defineProps({
variant: {
type: String,
default: 'action'
default: VARIANT.ACTION,
validator: variantValidator
},
size: {
type: String,
default: 'md'
default: SIZE.MD,
validator: buttonSizeValidator
},
dropdownIcon: {
type: String,
Expand Down

0 comments on commit 6113a6b

Please sign in to comment.