Commit 895cfaf9 authored by Héliton Nordt's avatar Héliton Nordt Committed by Dan Abramov
Browse files

Use double quotes for JSX properties (#225)

It helps to maintain consistency with React docs
parent 1670fb13
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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" />;
}
}
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment