diff --git a/front/src/components/ui/Toggle.vue b/front/src/components/ui/Toggle.vue index 46afdcaac..167b6d83b 100644 --- a/front/src/components/ui/Toggle.vue +++ b/front/src/components/ui/Toggle.vue @@ -3,7 +3,7 @@ import { color } from "~/composables/colors.ts"; const { big } = defineProps<{ big?: boolean - title?: string + label?: string }>() const isOn = defineModel() @@ -19,7 +19,7 @@ const diameter = big? '28px' : '20px' - {{ title }} + {{ label }} diff --git a/front/ui-docs/components/ui/toggle.md b/front/ui-docs/components/ui/toggle.md index a6652c7c9..7f453d171 100644 --- a/front/ui-docs/components/ui/toggle.md +++ b/front/ui-docs/components/ui/toggle.md @@ -31,11 +31,11 @@ Link your toggle to an input using the `v-model` directive. -## Add title +## Add label - +