mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
feat(v2): add ability to specify CSS class for navbar item (#2660)
* feat(v2): add ability to specify CSS class for navbar item * Fix linting issues
This commit is contained in:
parent
379d3e0d23
commit
c0e531e5d9
4 changed files with 55 additions and 21 deletions
|
@ -138,6 +138,7 @@ module.exports = {
|
|||
// To apply the active class styling on all
|
||||
// routes starting with this path.
|
||||
activeBasePath: 'docs',
|
||||
className: '', // Custom CSS class (for styling any item)
|
||||
},
|
||||
// ... other links
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue