From 2e41ef4eebe42901507266267a074e784f7328a0 Mon Sep 17 00:00:00 2001
From: Orkhan Jafarov
Date: Tue, 9 Feb 2021 02:43:01 +0400
Subject: [PATCH] Updated README.md
---
README.md | 18 ++++++-----
src/pages/ComponentsPage.js | 63 +++++++++++++++++--------------------
2 files changed, 39 insertions(+), 42 deletions(-)
diff --git a/README.md b/README.md
index 468990d..87412c4 100644
--- a/README.md
+++ b/README.md
@@ -64,7 +64,6 @@ const Updates = () => (
);
ReactXpress.render();
-
```
### How to use
@@ -76,13 +75,16 @@ ReactXpress.render();
### Components
-`` - App Instance (props: port)
-
-`` - Static route (props: publicPath, path, options)
-
-`` - Router-Provider (props: path)
-
-`, and ...` - Route component (props: path, content, handler, status)
+`` - App Instance (props: port)
+`` - Static route (props: publicPath, path, options)
+`` - Router-Provider (props: path)
+`, and ...` - Route component (props: path, content, handler, status)
+`` - Response components
+`` - Render (props: component)
+`` - Response send (props: json, text, contentType)
+`` - Response Status (props: statusCode)
+`` - Response Send File (props: path, options, onError)
+`` - Redirect (props: path, statusCode)
diff --git a/src/pages/ComponentsPage.js b/src/pages/ComponentsPage.js
index be25d8d..4c0f3ae 100644
--- a/src/pages/ComponentsPage.js
+++ b/src/pages/ComponentsPage.js
@@ -10,40 +10,35 @@ export const ComponentsPage = () => (
-
- {``} - App Instance (props: port)
-
-
- {``} - Static route (props: publicPath, path, options)
-
-
- {``} - Router-Provider (props: path)
-
-
- {`, and ...`} - Route component (props: path, content,
- handler, status)
-
-
- {``} - Response components
-
-
- {``} - Response components
-
-
- {'- '} - Render (props: component){' '}
-
-
- {'- '} - Render (props: json, text, contentType){' '}
-
-
- {'- '} - Render (props: statusCode){' '}
-
-
- {'- '} - Render (props: path, statusCode){' '}
-
-
- {'- '} - Render (props: path, options, onError){' '}
-
+ {``} - App Instance (props: port)
+
+
+ {``} - Static route (props: publicPath, path, options)
+
+
+ {``} - Router-Provider (props: path)
+
+
+ {`, and ...`} - Route component (props: path, content, handler,
+ status)
+
+
+ {``} - Response components
+
+
+ {``} - Render (props: component)
+
+
+ {``} - Response send (props: json, text, contentType)
+
+
+ {``} - Response Status (props: statusCode)
+
+
+ {``} - Response Send File (props: path, options, onError)
+
+
+ {``} - Redirect (props: path, statusCode)
Sorry for this, better page is in process...