study / okdevtv star
kenu.admin kenu.admin 2021-01-13
react typescript
@691daff498163b71690c1a27983ecb8b272cd4fb
 
.prettierignore (added)
+++ .prettierignore
@@ -0,0 +1,6 @@
+# Ignore artifacts:
+build
+coverage
+
+# Ignore all HTML files:
+*.md
 
public/md/react/typescript.md (added)
+++ public/md/react/typescript.md
@@ -0,0 +1,18 @@
+# React TypeScript
+
+* Person.tsx
+```ts
+import react from 'react';
+
+class Person extends React.Component<{}> {
+  render() {
+    return (
+      <div>
+        <h1>Hello React TS</h1>
+      </div>
+    );
+  }
+}
+
+export default Person;
+```
Add a comment
List