Skip to content

Commit

Permalink
Make props optional
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat committed Aug 21, 2024
1 parent 47c153c commit fda0987
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions frontend/src/components/VHeader/VPageLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fda0987

Please sign in to comment.