Skip to content

Add style, grammar, and punctuation docs page - #40

Open
AaronPatterson1 wants to merge 2 commits into
mainfrom
spelling-grammar-page
Open

Add style, grammar, and punctuation docs page#40
AaronPatterson1 wants to merge 2 commits into
mainfrom
spelling-grammar-page

Conversation

@AaronPatterson1

Copy link
Copy Markdown
Collaborator

Adds a new /language page documenting writing conventions (style, grammar, and punctuation) with Do/Don't example cards, registers it in the app routes and foundations nav, and adds the CheckCircle and CloseCircle icons used by the example cards.

Adds a new /language page documenting writing conventions (style,
grammar, and punctuation) with Do/Don't example cards, registers it
in the app routes and foundations nav, and adds the CheckCircle and
CloseCircle icons used by the example cards.
Comment on lines +75 to +78
dangerouslySetInnerHTML={{
__html: text,
}}
/>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont use dangerouslySetInnerHTML, use the standard children prop to render the additional body text content instead.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, please check.

standard children prop instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants