mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 23:17:06 +02:00
fix(v2): make proper data type for prependBaseUrlToHref field (#4980)
This commit is contained in:
parent
d7e4e422a2
commit
8501db78a1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const BaseNavbarItemSchema = Joi.object({
|
|||
href: URISchema,
|
||||
label: Joi.string(),
|
||||
className: Joi.string(),
|
||||
prependBaseUrlToHref: Joi.string(),
|
||||
prependBaseUrlToHref: Joi.bool(),
|
||||
})
|
||||
// We allow any unknown attributes on the links
|
||||
// (users may need additional attributes like target, aria-role, data-customAttribute...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue