[Other]: Update example in TabsCodeBlocks
component
#1004
Labels
pending review
Awaiting review by team members.
TabsCodeBlocks
component
#1004
📋 Explain your issue
For some reason, Prettier does not format fenced code blocks inside JSX unless the following conditions are met:
For example, Prettier does not recognize the fenced code block in this code:
As a result, it formats it incorrectly like this:
To help prevent this issue, I suggest updating the example from the
TabsCodeBlocks
component. Change it from:to something like this:
It would also be helpful to leave a note about this issue too.
Feel free to assign this task to me if you’d like.
The text was updated successfully, but these errors were encountered: