mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +02:00
docs: fix documented path of swizzled component (#9786)
This commit is contained in:
parent
d3142c5ed5
commit
3d8b70e0b3
1 changed files with 1 additions and 1 deletions
|
@ -310,6 +310,6 @@ To use your own search, swizzle the `SearchBar` component in `@docusaurus/theme-
|
|||
npm run swizzle @docusaurus/theme-classic SearchBar
|
||||
```
|
||||
|
||||
This will create an `src/themes/SearchBar` file in your project folder. Restart your dev server and edit the component, you will see that Docusaurus uses your own `SearchBar` component now.
|
||||
This will create an `src/theme/SearchBar` file in your project folder. Restart your dev server and edit the component, you will see that Docusaurus uses your own `SearchBar` component now.
|
||||
|
||||
**Notes**: You can alternatively [swizzle from Algolia SearchBar](#editing-the-algolia-search-component) and create your own search component from there.
|
||||
|
|
Loading…
Add table
Reference in a new issue