From fda098763b3ab99fce6d0e8cb917e1e89eb46629 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Wed, 21 Aug 2024 08:42:55 +0300 Subject: [PATCH] Make props optional Signed-off-by: Olga Bulat --- frontend/src/components/VHeader/VPageLinks.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/VHeader/VPageLinks.vue b/frontend/src/components/VHeader/VPageLinks.vue index 7a8f1c41df8..2b8462e37c8 100644 --- a/frontend/src/components/VHeader/VPageLinks.vue +++ b/frontend/src/components/VHeader/VPageLinks.vue @@ -13,18 +13,14 @@ const props = withDefaults( /** * In `dark` mode (in the modal), the links are white and the background is dark charcoal. * In `light` mode, the links are dark charcoal and the background is transparent. - * - * @default 'light' */ mode?: "light" | "dark" /** * Pass the tailwind classes to style the nav links. - * - * @default '' */ - navLinkClasses: string - variant: "links" | "itemgroup" - isInModal: boolean + navLinkClasses?: string + variant?: "links" | "itemgroup" + isInModal?: boolean }>(), { mode: "light",