Skip to content

Commit

Permalink
👌 IMPROVE: React component syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Jul 28, 2018
1 parent 4b96f50 commit c69a9b5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dom
3 changes: 2 additions & 1 deletion demo/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import React from 'react';
import { render } from 'react-dom';
import './index.css';

var justChecking = render();
const justChecking = render();
justChecking();

/**
* VSCode Component.
Expand Down
14 changes: 14 additions & 0 deletions themes/shades-of-purple-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,20 @@
"foreground": "#9EFFFF"
}
},
{
"name": "[JAVASCRIPT REACT] — JSX HTML",
"scope": ["punctuation.definition.tag.begin.js", "punctuation.definition.tag.end.js"],
"settings": {
"foreground": "#9EFFFF"
}
},
{
"name": "[JAVASCRIPT REACT] — JSX HTML Children Text",
"scope":"meta.jsx.children.js",
"settings": {
"foreground": "#FFFFFF"
}
},
{
"name": "[JAVASCRIPT] — Storage types",
"scope": [
Expand Down

0 comments on commit c69a9b5

Please # to comment.