Skip to content

Commit

Permalink
feat: refactor BaseRadioHeadless.vue props
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 18, 2023
1 parent bc4945c commit cdb4829
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions components/form/BaseRadioHeadless.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ defineOptions({
const props = withDefaults(
defineProps<{
/**
* The form input identifier.
*/
id?: string
/**
* The value of the radio input.
*/
Expand All @@ -20,6 +15,11 @@ const props = withDefaults(
*/
modelValue?: T
/**
* The form input identifier.
*/
id?: string
/**
* The name of the radio input.
*/
Expand All @@ -31,11 +31,11 @@ const props = withDefaults(
label?: string
}>(),
{
id: undefined,
modelValue: undefined,
value: undefined,
label: undefined,
id: undefined,
name: undefined,
label: undefined,
},
)
const emits = defineEmits<{
Expand Down

0 comments on commit cdb4829

Please sign in to comment.