Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix swizzle legend typo #6854

Merged
merged 2 commits into from
Mar 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/docusaurus/src/commands/swizzle/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Report it here: https://github.com/facebook/docusaurus/discussions/5468
[tableStatusLabel('forbidden')]: [
'',
`
This component should not meant to be swizzled.
This component is not meant to be swizzled.
`,
],
});
Expand All @@ -78,7 +78,7 @@ Allows rendering other components before/after the original theme component.

${logger.green('Tip')}: prefer ${logger.code(
'--wrap',
)} whenever possible to reduces the amount of code to maintain.
)} whenever possible to reduce the amount of code to maintain.
`,
],
});
Expand All @@ -88,11 +88,11 @@ ${logger.green('Tip')}: prefer ${logger.code(
logger.code('--eject'),
`
Ejects the full source code of the original theme component.
Allows overriding the original component entirely with your own UI and logic.
Allows overriding of the original component entirely with your own UI and logic.

${logger.green('Tip')}: ${logger.code(
'--eject',
)} can be useful to completely redesign a component.
)} can be useful for completely redesigning a component.
`,
],
});
Expand Down