Skip to content

Commit

Permalink
Update existing-css.mdx (#937)
Browse files Browse the repository at this point in the history
Improve format
  • Loading branch information
mrdulin committed Oct 14, 2023
1 parent 3924af8 commit 4d19d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/advanced/existing-css.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It injects the generated stylesheet at the end of the head of the document durin

If you use the `styled(MyComponent)` notation and `MyComponent` does not
render the passed-in `className` prop, then no styles will be applied.
To avoid this issue, make sure your component attaches the passed-in className to a DOM node:
To avoid this issue, make sure your component attaches the passed-in `className` to a DOM node:

```tsx
class MyComponent extends React.Component {
Expand Down

0 comments on commit 4d19d4d

Please sign in to comment.