Skip to content

Commit

Permalink
docs: Reword comparison between React authoring and CSS authoring
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hidde authored Aug 20, 2023
1 parent cf723b7 commit 9251a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/swizzling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 9251a78

Please sign in to comment.