mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 23:40:39 +02:00
feat(theme-classic): allow className as option for type: "search" (#7357)
* feat(theme-classic): allow className as option for type: "search" * fixup! feat(theme-classic): allow className as option for type: "search" * refactor Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com> Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
cd21a31005
commit
5fcb742aa1
7 changed files with 23 additions and 6 deletions
|
@ -602,6 +602,7 @@ However, with this special navbar item type, you can change the default location
|
|||
| --- | --- | --- | --- |
|
||||
| `type` | `'search'` | **Required** | Sets the type of this item to a search bar. |
|
||||
| `position` | <code>'left' \| 'right'</code> | `'left'` | The side of the navbar this item should appear on. |
|
||||
| `className` | `string` | / | Custom CSS class for this navbar item. |
|
||||
|
||||
</APITable>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue