Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
895cfaf9
Commit
895cfaf9
authored
8 years ago
by
Héliton Nordt
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Use double quotes for JSX properties (#225)
It helps to maintain consistency with React docs
parent
1670fb13
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template/README.md
+2
-2
template/README.md
with
2 additions
and
2 deletions
+2
-2
template/README.md
+
2
-
2
View file @
895cfaf9
...
...
@@ -99,7 +99,7 @@ import Button from './Button'; // Import a component from another file
class
DangerButton
extends
Component
{
render
()
{
return
<
Button
color
=
'
red
'
/>
;
return
<
Button
color
=
"
red
"
/>
;
}
}
...
...
@@ -139,7 +139,7 @@ import './Button.css'; // Tell Webpack that Button.js uses these styles
class
Button
extends
Component
{
render
()
{
// You can use them as regular CSS styles
return
<
div
className
=
'
Button
'
/>
;
return
<
div
className
=
"
Button
"
/>
;
}
}
```
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets