diff --git a/docusaurus/docs/adding-a-css-modules-stylesheet.md b/docusaurus/docs/adding-a-css-modules-stylesheet.md index be16918284828be2ac6f539440f3bcb1faf55750..e7073a5223285397a10d37e3c97e07e28ad08ae7 100644 --- a/docusaurus/docs/adding-a-css-modules-stylesheet.md +++ b/docusaurus/docs/adding-a-css-modules-stylesheet.md @@ -49,7 +49,7 @@ No clashes from other `.error` class names ```html <!-- This button has red background but not red text --> -<button class="Button_error_ax7yz">Error Button</button> +<button className="Button_error_ax7yz">Error Button</button> ``` **This is an optional feature.** Regular `<link>` stylesheets and CSS files are fully supported. CSS Modules are turned on for files ending with the `.module.css` extension.