mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
docs: Reword comparison between React authoring and CSS authoring (#9247)
This sentence contrasts authoring React with authoring CSS. The previous version did this in a way that makes the React authoring seem like a more advanced activity (“actual (…) code”), and authoring CSS the less advanced (described as “playing with”). The rewording tries to address that.
This commit is contained in:
parent
cf723b74e7
commit
0cb84b831d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ In this section, we will introduce how customization of layout is done in Docusa
|
|||
|
||||
> Déja vu...?
|
||||
|
||||
This section is similar to [Styling and Layout](./styling-layout.mdx), but this time, we will write actual React code instead of playing with stylesheets. We will talk about a central concept in Docusaurus: **swizzling**, which allows **deeper site customizations**.
|
||||
This section is similar to [Styling and Layout](./styling-layout.mdx), but this time, we will customize React components themselves, rather than what they look like. We will talk about a central concept in Docusaurus: **swizzling**, which allows **deeper site customizations**.
|
||||
|
||||
In practice, swizzling permits to **swap a theme component with your own implementation**, and it comes in 2 patterns:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue