Skip to content

Commit dbedb85

Browse files
author
Konrad Szwarc
committed
Initial commit
0 parents  commit dbedb85

File tree

6 files changed

+862
-0
lines changed

6 files changed

+862
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
\.DS_Store
3+
node_modules

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cheatsheet-parser

cheatsheets/.gitkeep

Whitespace-only changes.

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "cs-parser",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"author": "Piotr Pietruszka",
6+
"license": "MIT",
7+
"devDependencies": {
8+
"chai": "^4.2.0",
9+
"mocha": "^6.1.3"
10+
}
11+
}

tests/sheets/one-element.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# React
2+
3+
## Creating components
4+
5+
### Functional components
6+
```jsx
7+
import React from 'react';
8+
9+
const MyComponent = (props) => {
10+
return (
11+
<div>Hello World</div>
12+
);
13+
}
14+
15+
export default MyComponent;
16+
```
17+
Simple function that returns JSX.
18+
Example: https://www.google.pl/

0 commit comments

Comments
 (0)