mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 14:08:21 +02:00
feat(v2): responsive navbar
This commit is contained in:
parent
9b2ff32e7e
commit
e76288341f
3 changed files with 86 additions and 11 deletions
|
@ -56,7 +56,10 @@ function DocSidebar(props) {
|
|||
case 'link':
|
||||
return (
|
||||
<li className="menu__list-item" key={item.label}>
|
||||
<Link className="menu__link" to={item.href}>
|
||||
<Link
|
||||
activeClassName="menu__link--active"
|
||||
className="menu__link"
|
||||
to={item.href}>
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue