Skip to content
Discussion options

You must be logged in to vote

The footer component is a part of the @theme/Layout component.

If you want to display it conditionally, you can make it render null inside the Footer, or not render it at all by swizzling the @theme/Layout component instead

Now how to proceed, I tried to import this footer component in another js file and tried using it as a tag , like <footer> But its not working.

What is not working exactly: please create a repro.

You are not necessarily supposed to "use" swizzled components. They are already "used" by Docusaurus itself, and you mostly need to customize them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Karan-S-dev
Comment options

Answer selected by Karan-S-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants